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

Unified Diff: device/generic_sensor/generic_sensor_consts.h

Issue 2648423005: [sensors][win] Use angular velocity values for gyroscope sensor (Closed)
Patch Set: Rename constant Created 3 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
« no previous file with comments | « no previous file | device/generic_sensor/linux/sensor_data_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/generic_sensor_consts.h
diff --git a/device/generic_sensor/generic_sensor_consts.h b/device/generic_sensor/generic_sensor_consts.h
index 63e3e1851d112b4b0cc5fed412d1e1ab5d88942b..ca9b45a4cd1ae78c73cfc9fcb1bc53970b23e9b2 100644
--- a/device/generic_sensor/generic_sensor_consts.h
+++ b/device/generic_sensor/generic_sensor_consts.h
@@ -13,8 +13,8 @@ namespace device {
// Required for conversion from G/s^2 to m/s^2
constexpr double kMeanGravity = 9.80665;
-// Required for conversion from deg/s^2 to rad/s^2
-constexpr double kRadiansInDegreesPerSecond = M_PI / 180.0;
+// Required for conversion from deg to rad
+constexpr double kRadiansInDegrees = M_PI / 180.0;
// Required for conversion from Gauss to uT.
constexpr double kMicroteslaInGauss = 100.0;
« no previous file with comments | « no previous file | device/generic_sensor/linux/sensor_data_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698