From e88423058cb92e691faef9ed27ba2d4fbb1392c3 Mon Sep 17 00:00:00 2001 From: Will Hedgecock Date: Mon, 13 Nov 2023 18:10:14 -0600 Subject: [PATCH] Don't change default IMU motion change interrupt type --- software/firmware/src/tasks/app_task_ranging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/firmware/src/tasks/app_task_ranging.c b/software/firmware/src/tasks/app_task_ranging.c index 8feaa24c..e208fa25 100644 --- a/software/firmware/src/tasks/app_task_ranging.c +++ b/software/firmware/src/tasks/app_task_ranging.c @@ -197,7 +197,7 @@ void AppTaskRanging(void *uid) bluetooth_register_discovery_callback(ble_discovery_handler); #ifndef _TEST_BLE_RANGING_TASK battery_register_event_callback(battery_event_handler); - imu_register_motion_change_callback(motion_change_handler, OPERATION_MODE_NDOF); + imu_register_motion_change_callback(motion_change_handler, OPERATION_MODE_ACCONLY); if (battery_monitor_is_plugged_in()) storage_flush_and_shutdown(); #endif