Change approach of notifying of power problem to be more beginner friendly
This commit is contained in:
@@ -82,7 +82,7 @@ void Communication::begin(void) {
|
||||
PowerParameters::CurrentConsumptions::CURRENT_WIFI_BASE,
|
||||
MESH_MAX_EXECUTION_DELAY_MS, NULL)) {
|
||||
ESP_LOGE(TAG, "Failed to get power for mesh initialization");
|
||||
throw "Failed to get power for mesh initialization";
|
||||
Serial.println("Failed to get power for mesh initialization");
|
||||
}
|
||||
mesh.init(MESH_PREFIX, MESH_PASSWORD, &userScheduler, MESH_PORT);
|
||||
mesh.onReceive(&receivedCallback);
|
||||
|
||||
Reference in New Issue
Block a user