diff --git a/src/dac.rs b/src/dac.rs index 89a31bf..d6325c2 100644 --- a/src/dac.rs +++ b/src/dac.rs @@ -205,6 +205,8 @@ impl Dac0Output { if self.first_transfer { self.first_transfer = false } else { + // Note: If a device hangs up, check that this conditional is passing correctly, as + // there is no time-out checks here in the interest of execution speed. while self.transfer.get_transfer_complete_flag() == false {} } @@ -299,6 +301,8 @@ impl Dac1Output { if self.first_transfer { self.first_transfer = false } else { + // Note: If a device hangs up, check that this conditional is passing correctly, as + // there is no time-out checks here in the interest of execution speed. while self.transfer.get_transfer_complete_flag() == false {} }