samples: net: mqtt_publisher: Remove mqtt_input after mqtt_disconnect
This function call is no longer needed for a proper disconnect. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
504cc436dd
commit
bb32e9e3fb
1 changed files with 0 additions and 4 deletions
|
@ -445,10 +445,6 @@ static void publisher(void)
|
|||
rc = mqtt_disconnect(&client_ctx);
|
||||
PRINT_RESULT("mqtt_disconnect", rc);
|
||||
|
||||
wait(APP_SLEEP_MSECS);
|
||||
rc = mqtt_input(&client_ctx);
|
||||
PRINT_RESULT("mqtt_input", rc);
|
||||
|
||||
LOG_INF("Bye!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue