fix error with reporting

This commit is contained in:
proddy
2018-09-24 21:18:12 +02:00
parent 4f604102c1
commit f57e5135a2
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 182 KiB

View File

@@ -713,7 +713,7 @@ void ems_doReadCommand(uint8_t type) {
uint8_t dest = (i == -1 ? EMS_ID_BOILER : EMS_Types[i].src); // default is Boiler uint8_t dest = (i == -1 ? EMS_ID_BOILER : EMS_Types[i].src); // default is Boiler
if (ems_getLogging() != EMS_SYS_LOGGING_NONE) { if (ems_getLogging() != EMS_SYS_LOGGING_NONE) {
if (i != -1) { if (i == -1) {
myDebug("Requesting type (0x%02x) from dest 0x%02x\n", type, dest); myDebug("Requesting type (0x%02x) from dest 0x%02x\n", type, dest);
} else { } else {
myDebug("Requesting type %s(0x%02x) from dest 0x%02x\n", EMS_Types[i].typeString, type, dest); myDebug("Requesting type %s(0x%02x) from dest 0x%02x\n", EMS_Types[i].typeString, type, dest);