aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-07-28 02:19:50 -0600
committerSelene ToyKeeper2020-07-28 02:19:50 -0600
commit7057bd7c68f63a902c7485768afc6e759c43c3c8 (patch)
tree17c41e484131c917d0ac6139bfcc416c5106bc10 /spaghetti-monster
parentreorganized some code to make it cleaner... (diff)
downloadanduril-7057bd7c68f63a902c7485768afc6e759c43c3c8.tar.gz
anduril-7057bd7c68f63a902c7485768afc6e759c43c3c8.tar.bz2
anduril-7057bd7c68f63a902c7485768afc6e759c43c3c8.zip
s/DEFAULT_SIMPLE_UI/SIMPLE_UI/ in a file I forgot to update earlier
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/ramp-mode.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/spaghetti-monster/anduril/ramp-mode.h b/spaghetti-monster/anduril/ramp-mode.h
index 00cac9f..03fd381 100644
--- a/spaghetti-monster/anduril/ramp-mode.h
+++ b/spaghetti-monster/anduril/ramp-mode.h
@@ -39,17 +39,17 @@
#if defined(USE_SIMPLE_UI)
// TODO: Move these settings to config-default.h?
// start in the simple UI after each factory reset?
-#ifndef DEFAULT_SIMPLE_UI_ACTIVE
-#define DEFAULT_SIMPLE_UI_ACTIVE 1
+#ifndef SIMPLE_UI_ACTIVE
+#define SIMPLE_UI_ACTIVE 1
#endif
-#ifndef DEFAULT_SIMPLE_UI_FLOOR
-#define DEFAULT_SIMPLE_UI_FLOOR 22
+#ifndef SIMPLE_UI_FLOOR
+#define SIMPLE_UI_FLOOR 22
#endif
-#ifndef DEFAULT_SIMPLE_UI_CEIL
-#define DEFAULT_SIMPLE_UI_CEIL (MAX_1x7135+20)
+#ifndef SIMPLE_UI_CEIL
+#define SIMPLE_UI_CEIL (MAX_1x7135+20)
#endif
-#ifndef DEFAULT_SIMPLE_UI_STEPS
-#define DEFAULT_SIMPLE_UI_STEPS 3
+#ifndef SIMPLE_UI_STEPS
+#define SIMPLE_UI_STEPS 3
#endif
#endif
@@ -147,7 +147,7 @@ uint8_t manual_memory = 0;
#endif
#ifdef USE_SIMPLE_UI
// whether to enable the simplified interface or not
-uint8_t simple_ui_active = DEFAULT_SIMPLE_UI_ACTIVE;
+uint8_t simple_ui_active = SIMPLE_UI_ACTIVE;
#endif
// smooth vs discrete ramping
uint8_t ramp_style = RAMP_STYLE; // 0 = smooth, 1 = discrete
@@ -159,21 +159,21 @@ uint8_t ramp_floors[] = {
RAMP_SMOOTH_FLOOR,
RAMP_DISCRETE_FLOOR,
#ifdef USE_SIMPLE_UI
- DEFAULT_SIMPLE_UI_FLOOR,
+ SIMPLE_UI_FLOOR,
#endif
};
uint8_t ramp_ceils[] = {
RAMP_SMOOTH_CEIL,
RAMP_DISCRETE_CEIL,
#ifdef USE_SIMPLE_UI
- DEFAULT_SIMPLE_UI_CEIL,
+ SIMPLE_UI_CEIL,
#endif
};
uint8_t ramp_stepss[] = {
0,
RAMP_DISCRETE_STEPS,
#ifdef USE_SIMPLE_UI
- DEFAULT_SIMPLE_UI_STEPS,
+ SIMPLE_UI_STEPS,
#endif
};
uint8_t ramp_discrete_step_size; // don't set this