Index: tools/battor_agent/battor_sample_converter_unittest.cc |
diff --git a/tools/battor_agent/battor_sample_converter_unittest.cc b/tools/battor_agent/battor_sample_converter_unittest.cc |
index f0b9935982c3cfe5508980177eb4f85674548ac6..01ad5e5cdb7246f05dbf4d2c1d3458b9ce135f40 100644 |
--- a/tools/battor_agent/battor_sample_converter_unittest.cc |
+++ b/tools/battor_agent/battor_sample_converter_unittest.cc |
@@ -25,7 +25,7 @@ TEST(BattOrSampleConverterTest, ToSampleSimple) { |
// Create a calibration frame with a baseline voltage and current of zero. |
std::vector<RawBattOrSample> calibration_frame; |
- calibration_frame.push_back(RawBattOrSample{0.0, 0.0}); |
+ calibration_frame.push_back(RawBattOrSample{0, 0}); |
BattOrSampleConverter converter(eeprom, calibration_frame); |
// Set both the voltage and current to their max values. |