aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-03-12 04:38:40 -0600
committerSelene ToyKeeper2019-03-12 04:38:40 -0600
commitef752306f1766973f234be31c8d41cb586908f23 (patch)
tree2e2c21eae703b52ff11fbf738c5a905af1b1ce00
parentmerged anduril updates into rampingios (diff)
downloadanduril-ef752306f1766973f234be31c8d41cb586908f23.tar.gz
anduril-ef752306f1766973f234be31c8d41cb586908f23.tar.bz2
anduril-ef752306f1766973f234be31c8d41cb586908f23.zip
don't use eeprom for ramp config if ramp config isn't enabled
-rw-r--r--spaghetti-monster/anduril/anduril.c2
-rw-r--r--spaghetti-monster/fireflies-ui/fireflies-ui.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c
index 30a0780..f92b8f9 100644
--- a/spaghetti-monster/anduril/anduril.c
+++ b/spaghetti-monster/anduril/anduril.c
@@ -138,11 +138,13 @@
#define USE_EEPROM
typedef enum {
ramp_style_e,
+ #ifdef USE_RAMP_CONFIG
ramp_smooth_floor_e,
ramp_smooth_ceil_e,
ramp_discrete_floor_e,
ramp_discrete_ceil_e,
ramp_discrete_steps_e,
+ #endif
#ifdef USE_STROBE_STATE
strobe_type_e,
#endif
diff --git a/spaghetti-monster/fireflies-ui/fireflies-ui.c b/spaghetti-monster/fireflies-ui/fireflies-ui.c
index fa0b160..0fc2a1d 100644
--- a/spaghetti-monster/fireflies-ui/fireflies-ui.c
+++ b/spaghetti-monster/fireflies-ui/fireflies-ui.c
@@ -182,11 +182,13 @@
#define USE_EEPROM
typedef enum {
ramp_style_e,
+ #ifdef USE_RAMP_CONFIG
ramp_smooth_floor_e,
ramp_smooth_ceil_e,
ramp_discrete_floor_e,
ramp_discrete_ceil_e,
ramp_discrete_steps_e,
+ #endif
#ifdef USE_STROBE_STATE
strobe_type_e,
#endif
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.