diff options
| author | Selene ToyKeeper | 2019-09-29 00:02:14 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-09-29 00:02:14 -0600 |
| commit | 259b8a4fd4311720733d4da352f66dcf789cfd53 (patch) | |
| tree | f498c5072dd0f32424ef979dcd12bdab78827a18 /tk-attiny.h | |
| parent | remapped D1S V2 pins to match new driver (diff) | |
| parent | after safety ramp-down, if the button remains stuck, lock the light (diff) | |
| download | anduril-259b8a4fd4311720733d4da352f66dcf789cfd53.tar.gz anduril-259b8a4fd4311720733d4da352f66dcf789cfd53.tar.bz2 anduril-259b8a4fd4311720733d4da352f66dcf789cfd53.zip | |
merged from fsm branch to get safety ramp-down and version check functions, among other updates
Diffstat (limited to 'tk-attiny.h')
| -rw-r--r-- | tk-attiny.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tk-attiny.h b/tk-attiny.h index 4d0c7e0..76c9c9b 100644 --- a/tk-attiny.h +++ b/tk-attiny.h @@ -112,7 +112,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) |
