Re #1510 - Added switches warning, better protocol warnings and limited display to max 10 warnings

This commit is contained in:
Damjan Adamic
2014-07-14 20:11:21 +02:00
parent 559bb83864
commit 4ae9585080
8 changed files with 27 additions and 15 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ int8_t t_Th9xLogicalSwitchData::fromSource(RawSource source)
if (source.type == SOURCE_TYPE_STICK)
v1 = 1+source.index;
else if (source.type == SOURCE_TYPE_ROTARY_ENCODER) {
EEPROMWarnings += ::QObject::tr("th9x on this board doesn't have Rotary Encoders") + "\n";
EEPROMWarnings.push_back(::QObject::tr("th9x on this board doesn't have Rotary Encoders"));
v1 = 5+source.index;
}
else if (source.type == SOURCE_TYPE_MAX)