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
commit a5a90937b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"