diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-03 21:53:27 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-03 21:53:27 (GMT) |
| commit | 603d1f38ca3caad0abed2e884bb36504a71b623e (patch) | |
| tree | c40ac3d66fe6a136887f2314d511136b509c35be /src/displayapp/screens/Motion.cpp | |
| parent | 96b982fd94b48e441ab3a582bfafc7410bf0cbb1 (diff) | |
Read accelerometer at 100 instead of 10 Hz
Diffstat (limited to 'src/displayapp/screens/Motion.cpp')
| -rw-r--r-- | src/displayapp/screens/Motion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Motion.cpp b/src/displayapp/screens/Motion.cpp index 79132ec..bd0191a 100644 --- a/src/displayapp/screens/Motion.cpp +++ b/src/displayapp/screens/Motion.cpp @@ -69,7 +69,7 @@ void Motion::Refresh() { bool new_record = false; bool jump_started_or_ended = false; double X; double Y; double_t Z; - double G = motionController.GXYZ(X,Y,Z); + double G = systemTask.ReadGXYZ(X,Y,Z); // lv_chart_set_next(chart, ser2, motionController.Y()); // lv_chart_set_next(chart, ser3, motionController.Z()); TickType_t current_time = xTaskGetTickCount(); |
