diff --git a/ports/stm32/cpuload.c b/ports/stm32/cpuload.c index 73e775a..b06531f 100644 --- a/ports/stm32/cpuload.c +++ b/ports/stm32/cpuload.c @@ -83,5 +83,5 @@ void on_sleep_exit(uint32_t tick) uint8_t board_cpuload(int core_id) { - return cores[0].cpuload; + return cores[core_id].cpuload; }