aboutsummaryrefslogtreecommitdiff
path: root/tk-attiny.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-10-29 14:13:38 -0600
committerSelene ToyKeeper2023-10-29 14:13:38 -0600
commita6a752a14017e79745550b8561e79491b9ca1f74 (patch)
treec812416dcd62169f13241f2b9147b90186341ce3 /tk-attiny.h
parentupdated model names which changed recently (diff)
downloadanduril-a6a752a14017e79745550b8561e79491b9ca1f74.tar.gz
anduril-a6a752a14017e79745550b8561e79491b9ca1f74.tar.bz2
anduril-a6a752a14017e79745550b8561e79491b9ca1f74.zip
fixed delay timing on attiny1616 (it was about 17% too long this whole time)
(and re-adjusted smooth step timing accordingly)
Diffstat (limited to '')
-rw-r--r--tk-attiny.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tk-attiny.h b/tk-attiny.h
index ad2ed3b..9532ed5 100644
--- a/tk-attiny.h
+++ b/tk-attiny.h
@@ -58,7 +58,7 @@
#elif (ATTINY == 412) || (ATTINY == 416) || (ATTINY == 417) || (ATTINY == 816) || (ATTINY == 817) || (ATTINY == 1616) || (ATTINY == 1617) || (ATTINY == 3216) || (ATTINY == 3217)
#define AVRXMEGA3
#define F_CPU 10000000UL
- #define BOGOMIPS (F_CPU/4000)
+ #define BOGOMIPS (F_CPU/4700)
#define EEPSIZE 128
#define DELAY_ZERO_TIME 1020
#else