aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-08-26 14:53:00 -0600
committerSelene ToyKeeper2019-08-26 14:53:00 -0600
commit0aff10d4b7d6cf5fe829d4f70d6e5d5aecf3a822 (patch)
treee9cf6b941e1f68b4e19cf49255136b81a8e2c346
parentadded scripts to flash attiny1634, which were missing before (diff)
downloadanduril-0aff10d4b7d6cf5fe829d4f70d6e5d5aecf3a822.tar.gz
anduril-0aff10d4b7d6cf5fe829d4f70d6e5d5aecf3a822.tar.bz2
anduril-0aff10d4b7d6cf5fe829d4f70d6e5d5aecf3a822.zip
fixed attiny13 builds
-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)
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.