diff options
| author | Selene ToyKeeper | 2021-01-24 22:21:06 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2021-01-24 22:21:06 -0700 |
| commit | ecd711cf477ec1a25d08e3f5c35b86e306cbc7a5 (patch) | |
| tree | 081970215e165a45672d7d724cbd2c4644156e49 /spaghetti-monster/fsm-eeprom.c | |
| parent | added model number to Lume1 FW3X build target (diff) | |
| parent | noctigon k9.3: default to aux RGB rainbow mode, and automatic memory (diff) | |
| download | anduril-ecd711cf477ec1a25d08e3f5c35b86e306cbc7a5.tar.gz anduril-ecd711cf477ec1a25d08e3f5c35b86e306cbc7a5.tar.bz2 anduril-ecd711cf477ec1a25d08e3f5c35b86e306cbc7a5.zip | |
merged noctigon k9.3 branch
Diffstat (limited to 'spaghetti-monster/fsm-eeprom.c')
| -rw-r--r-- | spaghetti-monster/fsm-eeprom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spaghetti-monster/fsm-eeprom.c b/spaghetti-monster/fsm-eeprom.c index 0de7e05..4c734a2 100644 --- a/spaghetti-monster/fsm-eeprom.c +++ b/spaghetti-monster/fsm-eeprom.c @@ -30,7 +30,7 @@ uint8_t eeprom[EEPROM_BYTES]; #endif uint8_t load_eeprom() { - #ifdef LED_ENABLE_PIN + #if defined(LED_ENABLE_PIN) || defined(LED2_ENABLE_PIN) delay_4ms(2); // wait for power to stabilize #endif @@ -48,7 +48,7 @@ uint8_t load_eeprom() { } void save_eeprom() { - #ifdef LED_ENABLE_PIN + #if defined(LED_ENABLE_PIN) || defined(LED2_ENABLE_PIN) delay_4ms(2); // wait for power to stabilize #endif @@ -70,7 +70,7 @@ uint8_t eeprom_wl[EEPROM_WL_BYTES]; uint8_t * eep_wl_prev_offset; uint8_t load_eeprom_wl() { - #ifdef LED_ENABLE_PIN + #if defined(LED_ENABLE_PIN) || defined(LED2_ENABLE_PIN) delay_4ms(2); // wait for power to stabilize #endif @@ -99,7 +99,7 @@ uint8_t load_eeprom_wl() { } void save_eeprom_wl() { - #ifdef LED_ENABLE_PIN + #if defined(LED_ENABLE_PIN) || defined(LED2_ENABLE_PIN) delay_4ms(2); // wait for power to stabilize #endif |
