Skip to content

Commit

Permalink
change subscribe and publish retry behavior as it is run atop a relia…
Browse files Browse the repository at this point in the history
…ble stream trasnport. (#19)
  • Loading branch information
adam-scislowicz authored May 18, 2022
1 parent 3623e6c commit 6cd11ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/evkbmimxrt1060/test/pub_sub_test_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static MQTTStatus_t prvSubscribeToTopic( MQTTQoS_t xQoS,
xNotifyStatus = xTaskNotifyWait( 0,
0,
&ulNotifiedValue,
pdMS_TO_TICKS( configMS_TO_WAIT_FOR_NOTIFICATION ) );
portMAX_DELAY );

if( xNotifyStatus == pdTRUE )
{
Expand Down Expand Up @@ -388,7 +388,7 @@ static MQTTStatus_t prvPublishToTopic( MQTTQoS_t xQoS,
xNotifyStatus = xTaskNotifyWait( 0,
0,
&ulNotifiedValue,
pdMS_TO_TICKS( configMS_TO_WAIT_FOR_NOTIFICATION ) );
portMAX_DELAY );

if( xNotifyStatus == pdTRUE )
{
Expand Down

0 comments on commit 6cd11ce

Please sign in to comment.