Fix bad msec delay routine in 2560 arch module

This commit is contained in:
Dave 2021-12-05 00:07:41 -06:00
parent 03069fc8b5
commit 8bb2711ccb

View File

@ -695,7 +695,9 @@ void asdf_arch_pulse_delay_long(void)
// //
void asdf_arch_delay_ms(uint16_t delay_ms) void asdf_arch_delay_ms(uint16_t delay_ms)
{ {
_delay_ms(delay_ms); for (uint16_t i=0; i < delay_ms; i++) {
_delay_ms(1);
}
} }
// PROCEDURE: asdf_arch_init // PROCEDURE: asdf_arch_init