Bug fix: long delay should invoke _delay_ms(), not _delay_us().

This commit is contained in:
Dave 2020-05-23 23:28:00 -05:00
parent b5fa4f43bb
commit 7b05b6eadb
2 changed files with 2 additions and 2 deletions

View File

@ -679,7 +679,7 @@ void asdf_arch_pulse_delay_short(void)
//
void asdf_arch_pulse_delay_long(void)
{
_delay_us(ASDF_PULSE_DELAY_LONG_MS);
_delay_ms(ASDF_PULSE_DELAY_LONG_MS);
}
// PROCEDURE: asdf_arch_init

View File

@ -674,7 +674,7 @@ void asdf_arch_pulse_delay_short(void)
//
void asdf_arch_pulse_delay_long(void)
{
_delay_us(ASDF_PULSE_DELAY_LONG_MS);
_delay_ms(ASDF_PULSE_DELAY_LONG_MS);
}
// PROCEDURE: asdf_arch_init