Verified Commit 3b1bd48f authored by Paul Szczepanek's avatar Paul Szczepanek Committed by Vincent Coubard
Browse files

Fix osMessageQueuePut asserts


Signed-off-by: default avatarPaul Szczepanek <paul.szczepanek@arm.com>
Signed-off-by: Vincent Coubard's avatarVincent Coubard <vincent.coubard@arm.com>
parent f2d281a7
......@@ -482,7 +482,7 @@ static IotNetworkManagerInfo_t networkManager;
IotBle_StopAdv( NULL );
event.eventType = IOT_NETWORK_EVENT_CONNECTED;
sendStatus = osMessageQueuePut( networkManager.eventQueue, &event, 0, ( uint32_t ) 1U );
configASSERT( sendStatus == true );
configASSERT( sendStatus == osOK );
}
else
{
......@@ -490,7 +490,7 @@ static IotNetworkManagerInfo_t networkManager;
( void ) IotBle_StartAdv( NULL );
event.eventType = IOT_NETWORK_EVENT_DISCONNECTED;
sendStatus = osMessageQueuePut( networkManager.eventQueue, &event, 0, ( uint32_t ) 1U );
configASSERT( sendStatus == true );
configASSERT( sendStatus == osOK );
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment