diff --git a/src/W800_SDK_v1.00.10/app/gfx/gfx_task.c b/src/W800_SDK_v1.00.10/app/gfx/gfx_task.c index 25a7bca..d783a85 100644 --- a/src/W800_SDK_v1.00.10/app/gfx/gfx_task.c +++ b/src/W800_SDK_v1.00.10/app/gfx/gfx_task.c @@ -402,6 +402,13 @@ static void saveSettingsToFlashCb(void) static void performFactoryResetCb() { + // Reset the BMA456 internal step counter + if(!watch_peripherals_accelerometer_step_count_reset()) + { + APP_LOG_ERROR("Failed to reset the step counter"); + return; + } + // Reload factory settings persistency_factory_reset();