some highlighting of output
This commit is contained in:
parent
11bce773b1
commit
e3bbc8e61b
@ -173,7 +173,7 @@ void scheduleMBusRequest(void *handle) {
|
||||
if (devices[i].delay <= 0) {
|
||||
devices[i].delay = devices[i].period;
|
||||
devices[i].waiting = true;
|
||||
logMsg("\033[92m*** Scheduled: %s\033[m", devices[i].deviceName);
|
||||
logMsg("\x1b[7m *** Scheduled: %s\x1b[0m ", devices[i].deviceName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -91,6 +91,7 @@ static t_mbusCommHandle mbusCommHandle = { .state = MBCS_IDLE, .retryCnt = 0, .c
|
||||
|
||||
|
||||
static void parseAndPrintFrame(t_mbusCommHandle *mbusCommHandle) {
|
||||
logMsg("\x1b[1m");
|
||||
t_longframe *frame = &(mbusCommHandle->frame);
|
||||
|
||||
mbus_frame reply;
|
||||
@ -161,6 +162,7 @@ static void parseAndPrintFrame(t_mbusCommHandle *mbusCommHandle) {
|
||||
} else {
|
||||
logMsg("papf err: unable to parse frame");
|
||||
}
|
||||
logMsg("\x1b[0m");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user