| Index: tools/battor_agent/battor_protocol_types.h
|
| diff --git a/tools/battor_agent/battor_protocol_types.h b/tools/battor_agent/battor_protocol_types.h
|
| index 4cb8bfdc371fc3fbd95bff59f708d1489c6bc98f..9385836b1203517428e6ea458acf0ac9667e431f 100644
|
| --- a/tools/battor_agent/battor_protocol_types.h
|
| +++ b/tools/battor_agent/battor_protocol_types.h
|
| @@ -101,7 +101,7 @@ struct BattOrEEPROM {
|
| float high_gain_correction_factor;
|
| float high_gain_correction_offset;
|
| uint16_t high_gain_amppot;
|
| - uint32_t sd_sr;
|
| + uint32_t sd_sample_rate;
|
| uint16_t sd_tdiv;
|
| uint16_t sd_tovf;
|
| uint16_t sd_filpot;
|
| @@ -128,8 +128,10 @@ struct RawBattOrSample {
|
| int16_t current_raw;
|
| };
|
|
|
| -// A single BattOr sample after conversion to a real number with units.
|
| +// A single BattOr sample after timestamp assignment and conversion to unitful
|
| +// numbers.
|
| struct BattOrSample {
|
| + double time_ms;
|
| double voltage_mV;
|
| double current_mA;
|
| };
|
|
|