Commit a2b3628e authored by Daniil Kukushkin's avatar Daniil Kukushkin

No internet disconnection problem fix

parent ffc6eecc
......@@ -206,6 +206,8 @@ void MainController::initializeSystem()
{
mainControllerPtr = this;
uint8_t offer_router_mode = 0;
WiFi.setOutputPower(20.5);
bool res;
......@@ -239,6 +241,8 @@ void MainController::initializeSystem()
Serial.printf("SoftAP %s:%s on channel %d", settingsManager.SSID.c_str(), settingsManager.PASS.c_str(), wifiChannel);
Serial.println(res ? " READY" : " START FAILURE");
wifi_softap_set_dhcps_offer_option(OFFER_ROUTER, &offer_router_mode);
//WiFi.softAP("quadcopter", "testpass");
//WiFi.setOutputPower(10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment