   nextBoredBotEvent = millis() + boredBotTimeout;
 }
 
-void loop()
-{
+void loop(){
   // time dependant functions here
   checkBoredBot();
   checkAutoMode();

  webSocket.onEvent(webSocketEvent);
}

void initHardware()
{
  Serial.begin(2000000);
  Serial.println(F("\r\n"));
  Serial.println(F("            FHTbot Serial Connected\r\n"));

  }
}

void setup(){
  system_update_cpu_freq(80);           // set cpu to 80MHZ or 160MHZ !
  system_phy_set_max_tpw(30); 			// 0 - 82 radio TX power
  initHardware();
