1
0
forked from me/IronOS

Fix UK -> UA for Ukrainian

#261
This commit is contained in:
Ben V. Brown
2018-04-13 17:27:22 +10:00
parent 586267f586
commit cc09157106
3 changed files with 5 additions and 6 deletions

View File

@@ -860,9 +860,8 @@ void startPIDTask(void const *argument) {
}
const int32_t itermMax = 100;
pidTaskNotification = xTaskGetCurrentTaskHandle();
uint32_t ulNotificationValue;
for (;;) {
ulNotificationValue = ulTaskNotifyTake( pdTRUE, 100);//Wait a max of 100ms
ulTaskNotifyTake( pdTRUE, 100); //Wait a max of 100ms
//This is a call to block this thread until the ADC does its samples
uint16_t rawTemp = getTipRawTemp(1); // get instantaneous reading
if (currentlyActiveTemperatureTarget) {
@@ -900,8 +899,8 @@ void startPIDTask(void const *argument) {
}
/*if (currentlyActiveTemperatureTarget < rawTemp) {
output = 0;
}*/
output = 0;
}*/
setTipPWM(output);
derivativeLastValue = rawTemp; // store for next loop