Compare commits

...

2 Commits

Author SHA1 Message Date
doryan 14bb705e94 feat: remove redundant loop 2025-04-30 23:03:55 +04:00
doryan 096fa7853f fix: revert sync timing 2025-04-30 23:03:42 +04:00

View File

@ -85,7 +85,7 @@ where
pub fn sync_transmitter(&self) { pub fn sync_transmitter(&self) {
P::into_output(); P::into_output();
delay_us(SERIAL_DELAY / 2); delay_us(SERIAL_DELAY);
P::set_high(); P::set_high();
} }
@ -100,7 +100,6 @@ where
#[inline] #[inline]
pub fn reset(&self) { pub fn reset(&self) {
P::into_pull_up_input(); P::into_pull_up_input();
while P::is_low() {}
} }
} }