aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-eeprom.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-10-14 21:49:42 -0600
committerSelene ToyKeeper2020-10-14 21:49:42 -0600
commit176144c74eb41b09c508ad338a16217a019165bc (patch)
treed1d886f3167a644e400e05d88f4d09631a2727ef /spaghetti-monster/fsm-eeprom.c
parentcopied KR4 hwdef to K9.3 (diff)
downloadanduril-176144c74eb41b09c508ad338a16217a019165bc.tar.gz
anduril-176144c74eb41b09c508ad338a16217a019165bc.tar.bz2
anduril-176144c74eb41b09c508ad338a16217a019165bc.zip
renamed LED_ENABLE2_* to LED2_ENABLE_*
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