diff options
| author | Selene ToyKeeper | 2020-10-14 21:49:42 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-10-14 21:49:42 -0600 |
| commit | 176144c74eb41b09c508ad338a16217a019165bc (patch) | |
| tree | d1d886f3167a644e400e05d88f4d09631a2727ef /spaghetti-monster/fsm-ramping.c | |
| parent | copied KR4 hwdef to K9.3 (diff) | |
| download | anduril-176144c74eb41b09c508ad338a16217a019165bc.tar.gz anduril-176144c74eb41b09c508ad338a16217a019165bc.tar.bz2 anduril-176144c74eb41b09c508ad338a16217a019165bc.zip | |
renamed LED_ENABLE2_* to LED2_ENABLE_*
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/fsm-ramping.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spaghetti-monster/fsm-ramping.c b/spaghetti-monster/fsm-ramping.c index 6c6d0cb..5ea4a47 100644 --- a/spaghetti-monster/fsm-ramping.c +++ b/spaghetti-monster/fsm-ramping.c @@ -72,8 +72,8 @@ void set_level(uint8_t level) { #ifdef LED_ENABLE_PIN LED_ENABLE_PORT &= ~(1 << LED_ENABLE_PIN); #endif - #ifdef LED_ENABLE2_PIN - LED_ENABLE2_PORT &= ~(1 << LED_ENABLE2_PIN); + #ifdef LED2_ENABLE_PIN + LED2_ENABLE_PORT &= ~(1 << LED2_ENABLE_PIN); #endif } else { level --; @@ -82,8 +82,8 @@ void set_level(uint8_t level) { #ifdef LED_ENABLE_PIN LED_ENABLE_PORT |= (1 << LED_ENABLE_PIN); #endif - #ifdef LED_ENABLE2_PIN - LED_ENABLE2_PORT |= (1 << LED_ENABLE2_PIN); + #ifdef LED2_ENABLE_PIN + LED2_ENABLE_PORT |= (1 << LED2_ENABLE_PIN); #endif #ifdef USE_TINT_RAMPING |
