corrects time tick settings so that a timer tick happens every 10ms

This commit is contained in:
2026-02-03 21:22:49 +01:00
parent 39ffc7c743
commit fe168fc3d5
3 changed files with 5 additions and 4 deletions

View File

@@ -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);