summaryrefslogtreecommitdiff
path: root/src/drivers/Bma421.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/Bma421.cpp')
-rw-r--r--src/drivers/Bma421.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Bma421.cpp b/src/drivers/Bma421.cpp
index 4e33ef8b..10d3e5e8 100644
--- a/src/drivers/Bma421.cpp
+++ b/src/drivers/Bma421.cpp
@@ -105,3 +105,7 @@ Bma421::Values Bma421::Process() {
bool Bma421::IsOk() const {
return isOk;
}
+
+void Bma421::ResetStepCounter() {
+ bma423_reset_step_counter(&bma);
+}