diff options
| author | Selene ToyKeeper | 2019-11-19 00:36:50 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-11-19 00:36:50 -0700 |
| commit | 134c6de1eea4aee9a609a3057091d21109a833d5 (patch) | |
| tree | 67775696bb8b8f48256de396db835efda15fd6a2 /spaghetti-monster/fsm-main.c | |
| parent | the Q8 can just barely fit muggle mode again (diff) | |
| download | anduril-134c6de1eea4aee9a609a3057091d21109a833d5.tar.gz anduril-134c6de1eea4aee9a609a3057091d21109a833d5.tar.bz2 anduril-134c6de1eea4aee9a609a3057091d21109a833d5.zip | |
reduced build size by a few bytes
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/fsm-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-main.c b/spaghetti-monster/fsm-main.c index d352a36..4ad1e16 100644 --- a/spaghetti-monster/fsm-main.c +++ b/spaghetti-monster/fsm-main.c @@ -37,7 +37,7 @@ ISR(TIMER1_COMPA_vect) { #endif #if (ATTINY == 25) || (ATTINY == 45) || (ATTINY == 85) -inline void hw_setup() { +static inline void hw_setup() { // configure PWM channels #if PWM_CHANNELS >= 1 DDRB |= (1 << PWM1_PIN); @@ -69,7 +69,7 @@ inline void hw_setup() { PCMSK = (1 << SWITCH_PIN); // pin change interrupt uses this pin } #elif (ATTINY == 1634) -inline void hw_setup() { +static inline void hw_setup() { // this gets tricky with so many pins... // ... so punt it to the hwdef file hwdef_setup(); |
