Merge pull request #2549 from duckylotl/patch-1
forward declare board_millis for OPT_OS_CUSTOM
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user