1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 05:15:18 +03:00

REGISTER fix

This commit is contained in:
Bertrand Songis 2019-04-17 14:51:41 +02:00
parent edc6bf148a
commit ad555855c2
2 changed files with 1 additions and 4 deletions

View file

@ -81,7 +81,7 @@ int zchar2str(char * dest, const char * src, int size)
bool cmpStrWithZchar(const char * charString, const char * zcharString, int size)
{
for (int i=0; i<size; i++) {
if (char2zchar(charString[i]) != (int8_t)zcharString[i]) {
if (charString[i] != zchar2char(zcharString[i])) {
return false;
}
}

View file

@ -123,9 +123,6 @@ void processRegisterFrame(uint8_t module, uint8_t * frame)
moduleSettings[module].mode = MODULE_MODE_NORMAL;
POPUP_INFORMATION(STR_REG_OK);
}
else {
TRACE("KO %s %s", &frame[4], reusableBuffer.moduleSetup.pxx2.registerRxName);
}
}
break;
}