summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-05 18:14:06 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-05 18:14:06 +0100
commit32f50fd665992f43e099fe195f94153100bf1574 (patch)
treea9400d3cbd771a72474db9e6a95d7ed28ebdbc6e /src
parenta827a8ad5a7b2ffdd83c0eeba82ec7468df321f9 (diff)
arduino-nano: make delay functions inline
Diffstat (limited to 'src')
-rw-r--r--src/arch/arduino-nano/arch.cc4
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);
}