diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-12-05 18:14:06 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-12-05 18:14:06 +0100 |
commit | 32f50fd665992f43e099fe195f94153100bf1574 (patch) | |
tree | a9400d3cbd771a72474db9e6a95d7ed28ebdbc6e /src | |
parent | a827a8ad5a7b2ffdd83c0eeba82ec7468df321f9 (diff) |
arduino-nano: make delay functions inline
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/arduino-nano/arch.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arduino-nano/arch.cc b/src/arch/arduino-nano/arch.cc index 2d957fc..75f7f38 100644 --- a/src/arch/arduino-nano/arch.cc +++ b/src/arch/arduino-nano/arch.cc @@ -101,12 +101,12 @@ void Arch::idle(void) asm("wdr"); } -void Arch::delay_us(unsigned int const us) +inline void Arch::delay_us(unsigned int const us) { _delay_us(us); } -void Arch::delay_ms(unsigned int const ms) +inline void Arch::delay_ms(unsigned int const ms) { _delay_ms(ms); } |