diff options
| author | duckylotl <[email protected]> | 2024-03-28 10:27:07 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-28 10:27:07 +0100 |
| commit | 275e2f318ec17ba3956eb89965831ad5dff402be (patch) | |
| tree | 88e047daeb7dfbe66cf8d6b2c3aeee88d1ea0ee1 | |
| parent | 35aa9d06e141855c39cb50be4d15308ee11f3489 (diff) | |
forward declare board_millis for OPT_OS_CUSTOM
| -rw-r--r-- | hw/bsp/board_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bsp/board_api.h b/hw/bsp/board_api.h index 0c8a35924..3b9f211a2 100644 --- a/hw/bsp/board_api.h +++ b/hw/bsp/board_api.h @@ -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" |
