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

@@ -33,5 +33,5 @@ make -j16 lang=BR
rm -rf Objects/src
make -j16 lang=LT
rm -rf Objects/src
make -j16 lang=UK
make -j16 lang=UA
rm -rf Objects/src

View File

@@ -1454,7 +1454,7 @@ const char* SettingsMenuEntriesDescriptions[4] ={
};
#endif
#ifdef LANG_UK
#ifdef LANG_UA
const char* SettingsDescriptions[17] = {
// These are all the help text for all the settings.
// No requirements on spacing or length.

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