summaryrefslogtreecommitdiffstats
path: root/src/occ_405/sensor
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_405/sensor')
-rwxr-xr-xsrc/occ_405/sensor/sensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/occ_405/sensor/sensor.h b/src/occ_405/sensor/sensor.h
index 8fa4e8e..24c518d 100755
--- a/src/occ_405/sensor/sensor.h
+++ b/src/occ_405/sensor/sensor.h
@@ -146,7 +146,7 @@ struct sensor
uint16_t sample; // Latest sample of this sensor
uint16_t sample_min; // Minimum value since last reset
uint16_t sample_max; // Maximum Value since last reset
- uint32_t accumulator; // Accumulator register for this sensor
+ uint64_t accumulator; // Accumulator register for this sensor
uint32_t src_accum_snapshot; // Copy of the source sensor's accumulator
// used for time-derived sensors
uint32_t update_tag; // Count of the number of 'ticks' that have passed
OpenPOWER on IntegriCloud