Skip to content

Commit

Permalink
Fix storage task #define guards
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgecrw committed Jan 9, 2024
1 parent 7080920 commit 254fb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/firmware/src/tasks/storage_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void StorageTask(void *params)
// Loop forever, waiting until storage events are received
while (true)
if (xQueueReceive(storage_queue, &item, portMAX_DELAY) == pdPASS)
#if REVISION_ID == REVISION_APOLLO4_EVB && !defined(_TEST_BLE_RANGING_TASK)
#if REVISION_ID == REVISION_APOLLO4_EVB || defined(_TEST_BLE_RANGING_TASK)
if (item.type == STORAGE_TYPE_SHUTDOWN)
system_reset(true);
#else
Expand Down

0 comments on commit 254fb42

Please sign in to comment.