Add prototype for systick_attach_callback (thanks to @ag123)

This commit is contained in:
Roger Clark 2017-05-25 17:59:48 +10:00
parent a8d1c1d1b6
commit c6fe342d0f
1 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,12 @@ static inline uint32 systick_check_underflow(void) {
return SYSTICK_BASE->CSR & SYSTICK_CSR_COUNTFLAG;
}
/**
* @brief prototype for systick_attach_callback
*
*/
extern void systick_attach_callback(void (*callback)(void));
#ifdef __cplusplus
} // extern "C"
#endif