mesh: fix unit test

This commit is contained in:
Matthias Ringwald 2019-04-15 17:53:02 +02:00
parent 35d8c536f6
commit b2f661151c
2 changed files with 2 additions and 1 deletions

View File

@ -208,7 +208,7 @@ TEST_GROUP(MessageTest){
mock_process_hci_cmd();
}
// mesh_network_reset();
// mesh_transport_reset();
mesh_lower_transport_reset();
// mesh_network_dump();
// mesh_transport_dump();
printf("-- teardown complete --\n\n");

View File

@ -466,6 +466,7 @@ void mesh_upper_transport_pdu_handler(mesh_transport_callback_type_t callback_ty
switch (callback_type){
case MESH_TRANSPORT_PDU_RECEIVED:
mesh_upper_transport_message_received(pdu);
break;
case MESH_TRANSPORT_PDU_SENT:
// TODO: process, for now, just free
switch (pdu->pdu_type) {