Add prototype for systick_attach_callback (thanks to @ag123)
This commit is contained in:
parent
a8d1c1d1b6
commit
c6fe342d0f
|
@ -108,6 +108,12 @@ static inline uint32 systick_check_underflow(void) {
|
||||||
return SYSTICK_BASE->CSR & SYSTICK_CSR_COUNTFLAG;
|
return SYSTICK_BASE->CSR & SYSTICK_CSR_COUNTFLAG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief prototype for systick_attach_callback
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
extern void systick_attach_callback(void (*callback)(void));
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue