Added delay to wait_for_display for better compatibility

This commit is contained in:
Zac Wilson 2025-12-21 13:37:10 +00:00
parent 0804a16639
commit 18d3720566

View file

@ -282,6 +282,7 @@ impl<BusyPin: InputPin, ResetPin: OutputPin, DcPin: OutputPin, Spi: SpiDevice, D
} }
fn wait_for_display(&mut self) { fn wait_for_display(&mut self) {
self.delay.delay_ms(1);
while self.busy.is_low().expect("Failed to read busy pin") {} while self.busy.is_low().expect("Failed to read busy pin") {}
} }