Skip to content

Commit

Permalink
add guard around for imu interrupt clearance
Browse files Browse the repository at this point in the history
  • Loading branch information
corruptbear committed Jul 18, 2024
1 parent 49ad4e8 commit 487b9eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions software/firmware/src/tasks/app_task_ranging.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ static void handle_notification(app_notification_t notification)
#endif
#endif
}
#ifndef _TEST_IMU_DATA
imu_clear_interrupts();
#endif
}
if (((notification & APP_NOTIFY_NETWORK_LOST)) || ((notification & APP_NOTIFY_NETWORK_CONNECTED)) ||
((notification & APP_NOTIFY_VERIFY_CONFIGURATION)))
Expand Down

0 comments on commit 487b9eb

Please sign in to comment.