Skip to content

Commit

Permalink
Merge pull request #2549 from duckylotl/patch-1
Browse files Browse the repository at this point in the history
forward declare board_millis for OPT_OS_CUSTOM
  • Loading branch information
hathach authored Mar 28, 2024
2 parents eaab04f + 275e2f3 commit a5a9093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/bsp/board_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ static inline uint32_t board_millis(void) {

#elif CFG_TUSB_OS == OPT_OS_CUSTOM
// Implement your own board_millis() in any of .c file
uint32_t board_millis(void);

#else
#error "board_millis() is not implemented for this OS"
Expand Down

0 comments on commit a5a9093

Please sign in to comment.