aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/fsm-adc.h4
-rw-r--r--spaghetti-monster/fsm-ramping.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/spaghetti-monster/fsm-adc.h b/spaghetti-monster/fsm-adc.h
index 241dee4..cc33264 100644
--- a/spaghetti-monster/fsm-adc.h
+++ b/spaghetti-monster/fsm-adc.h
@@ -51,7 +51,7 @@ uint8_t adc_deferred_enable = 0; // stop waiting and run the deferred code
void adc_deferred(); // do the actual ADC-related calculations
static inline void ADC_voltage_handler();
-volatile uint8_t voltage = 0;
+uint8_t voltage = 0;
#ifdef USE_LVP
void low_voltage();
#endif
@@ -82,7 +82,7 @@ void battcheck();
#define THERM_CAL_OFFSET 0
#endif
// temperature now, in C (ish)
-volatile int16_t temperature;
+int16_t temperature;
uint8_t therm_ceil = DEFAULT_THERM_CEIL;
int8_t therm_cal_offset = 0;
volatile uint8_t reset_thermal_history = 1;
diff --git a/spaghetti-monster/fsm-ramping.h b/spaghetti-monster/fsm-ramping.h
index 9f29f27..f177db9 100644
--- a/spaghetti-monster/fsm-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -33,7 +33,7 @@ uint8_t tint = 128;
#ifdef USE_SET_LEVEL_GRADUALLY
// adjust brightness very smoothly
-volatile uint8_t gradual_target;
+uint8_t gradual_target;
inline void set_level_gradually(uint8_t lvl);
void gradual_tick();
#endif