Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
onkwon committed Jan 14, 2024
1 parent ba5acf0 commit 9de48ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/stm32/cpuload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 9de48ae

Please sign in to comment.