1
0
Fork 0
forked from wry/wry

it: add fifo test

This commit is contained in:
Julian Orth 2025-09-03 17:46:33 +02:00
parent f45cbed53b
commit 73bf4465e2
9 changed files with 264 additions and 3 deletions

View file

@ -1445,6 +1445,20 @@ impl State {
}
}
#[cfg(feature = "it")]
pub fn latch(&self, connector: ConnectorId) {
if let Some(output) = self.root.outputs.get(&connector) {
output.latched(false);
}
}
#[cfg(feature = "it")]
pub fn latch_tearing(&self, connector: ConnectorId) {
if let Some(output) = self.root.outputs.get(&connector) {
output.latched(true);
}
}
#[cfg(feature = "it")]
pub async fn idle(&self) {
loop {