forward declare board_millis for OPT_OS_CUSTOM

This commit is contained in:
duckylotl 2024-03-28 10:27:07 +01:00 committed by GitHub
parent 35aa9d06e1
commit 275e2f318e
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"