aboutsummaryrefslogtreecommitdiff
path: root/src/sys/timer.c
blob: c8f9922524934e63d6645748e456750bdd5cad3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <drivers/uart.h>
#include <globals.h>
#include <graphics/drawer.h>
#include <sys/core.h>
#include <sys/timer.h>
#include <util/mutex.h>
#include <util/status.h>
#include <util/time.h>
#include <symbols.h>

void c_timer(void)
{
	// Reset the counter
	write_cntv_tval(cntfrq/CPS);

	status();
}