Skip to content

Commit

Permalink
Don't change default IMU motion change interrupt type
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgecrw committed Nov 14, 2023
1 parent 1b4f8b6 commit e884230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/firmware/src/tasks/app_task_ranging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e884230

Please sign in to comment.