avr-fw-modules/core/src/systick_set_handler.c

13 lines
187 B
C
Raw Normal View History

2017-09-27 13:25:39 +02:00
#include <sys/systick.h>
#include <sys/atomic.h>
extern systick_handler _systick_handler;
void systick_set_handler(systick_handler handler)
{
ATOMIC
_systick_handler = handler;
};