diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arduino-nano/arch.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arch/arduino-nano/arch.cc b/src/arch/arduino-nano/arch.cc index fda518c..7f18c38 100644 --- a/src/arch/arduino-nano/arch.cc +++ b/src/arch/arduino-nano/arch.cc @@ -65,7 +65,12 @@ void Arch::idle(void) void Arch::delay_us(unsigned char const us) { - __builtin_avr_delay_cycles(1600); + _delay_us(us); +} + +void Arch::delay_ms(unsigned char const ms) +{ + _delay_ms(ms); } Arch arch; |