Fix null pointer issue.
This commit is contained in:
parent
28a4a52dde
commit
fd7806885b
@ -426,7 +426,7 @@ const u_int8_t *TrumaiNetBoxApp::lin_multiframe_recieved(const u_int8_t *message
|
|||||||
} else {
|
} else {
|
||||||
ESP_LOGW(TAG, "Unkown message type %02X", header->message_type);
|
ESP_LOGW(TAG, "Unkown message type %02X", header->message_type);
|
||||||
}
|
}
|
||||||
(*return_len) = 1;
|
(*return_len) = 0;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user