aboutsummaryrefslogtreecommitdiff
path: root/tk-attiny.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-08-29 04:54:41 -0600
committerSelene ToyKeeper2019-08-29 04:54:41 -0600
commitc1a898ddaa004e60be2fa6b016e0af8b133223de (patch)
treee9cf6b941e1f68b4e19cf49255136b81a8e2c346 /tk-attiny.h
parentmerged a sanitized copy of the Emisar D4v2 branch; history summarized below: (diff)
parentfixed attiny13 builds (diff)
downloadanduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.tar.gz
anduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.tar.bz2
anduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.zip
merged updates from fsm branch
Diffstat (limited to 'tk-attiny.h')
-rw-r--r--tk-attiny.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tk-attiny.h b/tk-attiny.h
index 947a87c..597af4d 100644
--- a/tk-attiny.h
+++ b/tk-attiny.h
@@ -108,7 +108,9 @@
#error Hey, you need to define an I/O pin layout.
#endif
-#if (ATTINY==25) || (ATTINY==45) || (ATTINY==85)
+#if (ATTINY==13)
+ // no changes needed
+#elif (ATTINY==25) || (ATTINY==45) || (ATTINY==85)
// use clock_prescale_set(n) instead; it's safer
//#define CLOCK_DIVIDER_SET(n) {CLKPR = 1<<CLKPCE; CLKPR = n;}
#elif (ATTINY==1634)