corrects time tick settings so that a timer tick happens every 10ms
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "platform.h"
|
||||
|
||||
#define TICKNUM_PER_SECOND 32768
|
||||
#define TICKNUM_PER_TIMER (TICKNUM_PER_SECOND / 1000) // ~ 1ms timer
|
||||
#define TICKNUM_PER_TIMER (TICKNUM_PER_SECOND / 100) // ~ 1ms timer
|
||||
|
||||
static inline int hwtimer_init(void) {
|
||||
uint64_t time = get_aclint_mtime(aclint);
|
||||
|
||||
Reference in New Issue
Block a user