Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: tools/battor_agent/battor_sample_converter.h

Issue 1586173002: tools/battor_agent: Prints real BattOr samples instead of raw ones (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_eeprom
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/battor_agent/battor_sample_converter.h
diff --git a/tools/battor_agent/battor_sample_converter.h b/tools/battor_agent/battor_sample_converter.h
index c22084485c5b993592b71325b9222976bdb1fe91..66a32e896e1c2debad6c8d177daf2b76a6179ada 100644
--- a/tools/battor_agent/battor_sample_converter.h
+++ b/tools/battor_agent/battor_sample_converter.h
@@ -27,8 +27,9 @@ class BattOrSampleConverter {
const std::vector<RawBattOrSample>& calibration_frame);
virtual ~BattOrSampleConverter();
- // Converts a raw sample to a calibrated one.
- BattOrSample ToSample(const RawBattOrSample& sample) const;
+ // Converts a raw sample to a unitful one with a timestamp.
nednguyen 2016/01/14 22:41:19 What does "unitful" mean?
charliea (OOO until 10-5) 2016/01/15 01:51:21 It's a math-y/physics-y word meaning a number with
+ BattOrSample ToSample(const RawBattOrSample& sample,
+ size_t sample_number) const;
private:
// The BattOr's EEPROM, which stores some conversion parameters we need.

Powered by Google App Engine
This is Rietveld 408576698