diff --git a/driver/TellUsbD101/DeviceIkea.cpp b/driver/TellUsbD101/DeviceIkea.cpp index 2087161d..e5af5f79 100644 --- a/driver/TellUsbD101/DeviceIkea.cpp +++ b/driver/TellUsbD101/DeviceIkea.cpp @@ -91,9 +91,9 @@ string DeviceIkea::getStringCode(unsigned char level){ if ((intCode>>i) & 1) { strChannels.append("TT"); if (i % 2 == 0) - checksum1++; - else checksum2++; + else + checksum1++; } else { strChannels.append("ª"); }