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

This commit is contained in:
eyck committed 2026-02-04 07:16:38 +01:00
1 parent 39ffc7c743
commit fe168fc3d5
3 files changed
+5 -4

No files matched your search

+1 -1
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);