Skip to content

Commit

Permalink
Remove while(1) from app_main
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanpmt committed Sep 23, 2016
1 parent 5cfe50f commit 9a180aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/espmqtt
1 change: 1 addition & 0 deletions main/app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ void connected_cb(void *self, void *params)
{
mqtt_client *client = (mqtt_client *)self;
mqtt_subscribe(client, "/test", 0);
mqtt_publish(client, "/test", "howdy!", 6, 0, 0);
}
void disconnected_cb(void *self, void *params)
{
Expand Down

0 comments on commit 9a180aa

Please sign in to comment.