]> granicus.if.org Git - esp-idf/commitdiff
ble_adv example: Remove int return value from app_main()
authorAngus Gratton <angus@espressif.com>
Mon, 14 Nov 2016 04:55:26 +0000 (15:55 +1100)
committerAngus Gratton <angus@espressif.com>
Mon, 14 Nov 2016 04:55:26 +0000 (15:55 +1100)
examples/05_ble_adv/main/app_bt.c

index 7f5dda5ec56d73cc976a9445a59ee7912e19ec2b..bfdd0b8c680a0fe735c458dcd1afbd5a2a222025 100755 (executable)
@@ -197,10 +197,9 @@ void bleAdvtTask(void *pvParameters)
     }
 }
 
-int app_main()
+void app_main()
 {
     bt_controller_init();
     xTaskCreatePinnedToCore(&bleAdvtTask, "bleAdvtTask", 2048, NULL, 5, NULL, 0);
-    return 0;
 }