Browse Source

ble_mesh:change the location of print ready

Yuan Hong Hui 3 years ago
parent
commit
5b9c2eb5fc

+ 1 - 2
examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_console_main.c

@@ -67,7 +67,6 @@ void app_main(void)
 #else
     repl_config.prompt = "esp32>";
 #endif
-    printf("!!!ready!!!\n");
 
     // init console REPL environment
     ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
@@ -84,7 +83,7 @@ void app_main(void)
 #if (CONFIG_BLE_MESH_CFG_CLI)
     ble_mesh_register_configuration_client_model();
 #endif
-
+    printf("!!!ready!!!\n");
     // start console REPL
     ESP_ERROR_CHECK(esp_console_start_repl(repl));
 }