more colors

This commit is contained in:
2020-11-03 18:02:36 +01:00
parent 747cbd3658
commit 28876eaa14
3 changed files with 7 additions and 3 deletions

View File

@ -149,7 +149,7 @@ static void parseAndPrintFrame(t_mbusCommHandle *mbusCommHandle) {
for (uint8_t j = 0; j < MBUSDEVICE_NUM_OF_CONSIDEREDFIELDS; j++) {
if ((mbusCommHandle->device->consideredField[j].index == i) &&
(strlen(mbusCommHandle->device->consideredField[j].label) > 0)) {
coloredMsg(LOG_BLUE, "papf txt: I:%d, L:%s, U:%s V:%s",
coloredMsg(LOG_YELLOW, "papf txt: I:%d, L:%s, U:%s V:%s",
i,
mbusCommHandle->device->consideredField[j].label,
mbus_data_record_unit(record),
@ -419,7 +419,6 @@ e_mbusCommRequestResult mbusCommRequest(t_mbusDevice *mbusDevice) {
e_mbusCommRequestResult res = MBCRR_BUSY;
if (mbusCommHandle.state == MBCS_IDLE) {
logMsg("");
coloredMsg(LOG_BLUE, "*** NEW REQUEST %s R:%d F:%d C:%d ***",
mbusDevice->deviceName,
mbusDevice->requests,