1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

LP-96 - Call CPU idle calibration function from SystemMod

This commit is contained in:
Alessio Morale 2015-08-18 15:27:01 +02:00 committed by a*morale
parent 4c2557c29a
commit 06f59d2c40

View File

@ -178,6 +178,8 @@ MODULE_INITCALL(SystemModInitialize, 0);
*/
static void systemTask(__attribute__((unused)) void *parameters)
{
/* calibrate the cpu usage monitor */
PIOS_TASK_MONITOR_CalibrateIdleCounter();
/* board driver init */
PIOS_Board_Init();