From bb375547a3f3611fab8d1f9318d7588d203c8524 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 1 Apr 2014 13:52:58 +0300 Subject: [PATCH] Volatile is not needed here --- arducontrol/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arducontrol/monitor.c b/arducontrol/monitor.c index 920f56d..c3804fc 100644 --- a/arducontrol/monitor.c +++ b/arducontrol/monitor.c @@ -6,13 +6,13 @@ static uint16_t track_current_samples[16] = { 0 }; static uint8_t track_current_head = 0; -static volatile uint16_t track_current_sum = 0; +static uint16_t track_current_sum = 0; static uint16_t overcurrent_limit = 9707; static uint8_t overcurrent_sent = 0; static uint16_t input_voltage_samples[16] = { 0 }; static uint8_t input_voltage_head = 0; -static volatile uint16_t input_voltage_sum = 0; +static uint16_t input_voltage_sum = 0; static volatile uint8_t adc_state = 0; static volatile uint16_t adc_value = 0; -- 2.45.2