Merge pull request #2549 from duckylotl/patch-1

forward declare board_millis for OPT_OS_CUSTOM
This commit is contained in:
Ha Thach
2024-03-28 20:58:59 +07:00
committed by GitHub

View File

@@ -116,6 +116,7 @@ static inline uint32_t board_millis(void) {
#elif CFG_TUSB_OS == OPT_OS_CUSTOM #elif CFG_TUSB_OS == OPT_OS_CUSTOM
// Implement your own board_millis() in any of .c file // Implement your own board_millis() in any of .c file
uint32_t board_millis(void);
#else #else
#error "board_millis() is not implemented for this OS" #error "board_millis() is not implemented for this OS"