summaryrefslogtreecommitdiff
path: root/src/arch/blinkenrocket/arch.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-15 16:22:55 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-15 16:22:55 +0200
commit5471509e033abcddb078383cc4656af06c265ce6 (patch)
tree09a49d487135932793e06b748892bed1ffb37120 /src/arch/blinkenrocket/arch.cc
parent2c1afc394913da7cb4823d72f3a11fbc43c9595e (diff)
Enable busy waiting in I2C driver to reach selected I2C clock
Diffstat (limited to 'src/arch/blinkenrocket/arch.cc')
-rw-r--r--src/arch/blinkenrocket/arch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/blinkenrocket/arch.cc b/src/arch/blinkenrocket/arch.cc
index 8042679..1261515 100644
--- a/src/arch/blinkenrocket/arch.cc
+++ b/src/arch/blinkenrocket/arch.cc
@@ -64,12 +64,12 @@ void Arch::idle(void)
asm("wdr");
}
-void Arch::delay_us(unsigned char const us)
+void Arch::delay_us(unsigned int const us)
{
_delay_us(us);
}
-void Arch::delay_ms(unsigned char const ms)
+void Arch::delay_ms(unsigned int const ms)
{
_delay_ms(ms);
}