start refactoring transmitting
This commit is contained in:
parent
d86f767dc3
commit
96d0599e20
@ -157,7 +157,9 @@ static void parseAndPrintFrame() {
|
||||
int r = mbus_frame_data_parse(&reply, &frame_data);
|
||||
if (r == 0) {
|
||||
mbus_data_variable *data_var = &(frame_data.data_var);
|
||||
coloredMsg(LOG_YELLOW, false, "mbc papf [%d] sts: %02x", mbusCommHandle.requestId, data_var->header.status);
|
||||
if (data_var->header.status) {
|
||||
coloredMsg(LOG_YELLOW, false, "mbc papf [%d] sts: %02x", mbusCommHandle.requestId, data_var->header.status);
|
||||
}
|
||||
if ((data_var->header.status & 0x01)) {
|
||||
coloredMsg(LOG_RED, true, "mbc papf [%d] sts: Application Busy", mbusCommHandle.requestId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user