aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-eeprom.c
diff options
context:
space:
mode:
authorGabriel Hart2021-02-01 13:01:02 -0600
committerGabriel Hart2021-02-01 13:01:02 -0600
commit7beebfc6f335f617cc0bd4c88b20793ca8e2b06c (patch)
treed96db6041a308caed35ee693389434263c901dd7 /spaghetti-monster/fsm-eeprom.c
parentAdd RGB Aux functionality for 1-Series (diff)
parentupdated MODELS file with missing K9.3-nofet build target (diff)
downloadanduril-7beebfc6f335f617cc0bd4c88b20793ca8e2b06c.tar.gz
anduril-7beebfc6f335f617cc0bd4c88b20793ca8e2b06c.tar.bz2
anduril-7beebfc6f335f617cc0bd4c88b20793ca8e2b06c.zip
Merge TKs changes from 2021-01-25
Diffstat (limited to 'spaghetti-monster/fsm-eeprom.c')
-rw-r--r--spaghetti-monster/fsm-eeprom.c8
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