Commit 99ad0cf
committed
Fix clock source unit when building on macOS
The current implementation of 'semu_timer_clocksource()' returns
the clock source in nanoseconds, but it should return in seconds
for correct system integration.
Adjust the function on macOS to divide the return value by 1e9,
ensuring the clock source is provided in seconds.1 parent 67f5c71 commit 99ad0cf
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments