1
0
forked from me/IronOS

Tune timer and PID rates

This commit is contained in:
Ben V. Brown
2017-09-26 19:43:52 +10:00
parent d726734792
commit fb08e8b56c
5 changed files with 14 additions and 8 deletions

View File

@@ -716,7 +716,7 @@ void startPIDTask(void const * argument) {
}
derivativeLastValue = rawTemp; //store for next loop
HAL_IWDG_Refresh(&hiwdg);
osDelay(10); // 100 Hz temp loop
osDelay(100); // 10 Hz temp loop
}
}
#define MOVFilter 4