Skip to content

Commit

Permalink
Re-order storage stubs same as header file
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgecrw committed Jun 27, 2024
1 parent 0ccee30 commit 1f25533
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions software/firmware/src/peripherals/src/storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,16 +780,15 @@ void storage_init(void) {}
void storage_deinit(void) {}
void storage_disable(bool disable) {}
void storage_store_experiment_details(const experiment_details_t *details) {}
void storage_retrieve_experiment_details(experiment_details_t *details) { memset(details, 0, sizeof(*details)); };
void storage_store(const void *data, uint32_t data_length) {}
void storage_flush(bool write_partial_pages) {}
void storage_retrieve_experiment_details(experiment_details_t *details) { memset(details, 0, sizeof(*details)); };
void storage_begin_reading(uint32_t) {}
void storage_begin_reading(uint32_t starting_timestamp) {}
void storage_end_reading(void) {}
void storage_enter_maintenance_mode(void){}
void storage_exit_maintenance_mode(void) {}
uint32_t storage_retrieve_data_length(void) { return 0; }
uint32_t storage_retrieve_num_data_chunks(uint32_t ending_timestamp) { return 0; }
uint32_t storage_retrieve_num_data_bytes(void) { return 0; }
uint32_t storage_retrieve_next_data_chunk(uint8_t *buffer) { return 0; }
uint32_t storage_retrieve_num_data_chunks(uint32_t) {return 0; }
uint32_t storage_retrieve_num_data_bytes(void) {return 0;}

#endif // #if REVISION_ID != REVISION_APOLLO4_EVB && !defined(_TEST_NO_STORAGE)
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 @@ -178,7 +178,7 @@ static void handle_notification(app_notification_t notification)
buzzer_indicate_location();
vTaskDelay(pdMS_TO_TICKS(1000));
}
#ifdef __USE_SEGGER__
#ifdef __USE_SEGGER__
if ((notification & APP_NOTIFY_DOWNLOAD_SEGGER_LOG))
{
// Define log file transmission variables
Expand Down

0 comments on commit 1f25533

Please sign in to comment.