aboutsummaryrefslogtreecommitdiff
path: root/tk-delay.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2015-09-11 16:47:51 -0600
committerSelene ToyKeeper2015-09-11 16:47:51 -0600
commit3e059f81420fa9f8a471f3c728430d1b70a4c51d (patch)
treed3e8d9de6dd5781e02d138fb856928d9b8a44f2f /tk-delay.h
parentRefactored blf-a6 a bunch to export code to includes and make attiny portabil... (diff)
downloadanduril-3e059f81420fa9f8a471f3c728430d1b70a4c51d.tar.gz
anduril-3e059f81420fa9f8a471f3c728430d1b70a4c51d.tar.bz2
anduril-3e059f81420fa9f8a471f3c728430d1b70a4c51d.zip
Oops, delay_s() should delay for 1000 ms, not BOGOMIPS ms.
Diffstat (limited to 'tk-delay.h')
-rw-r--r--tk-delay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tk-delay.h b/tk-delay.h
index 572d75e..57bdded 100644
--- a/tk-delay.h
+++ b/tk-delay.h
@@ -40,7 +40,7 @@ void _delay_ms(uint16_t n)
#ifdef USE_DELAY_S
void _delay_s() // because it saves a bit of ROM space to do it this way
{
- _delay_ms(BOGOMIPS);
+ _delay_ms(1000);
}
#endif
#else