 /// OTA Update UDP server handle.
 WiFiUDP OTA;
 
-/// Global WiFi SSID.
-String g_ssid = "";
-
-/// Global WiFi PSK.
-String g_pass = "";
-
 
 /**
  * @brief Read WiFi connection information from file system.

 */
void setup()
{
  g_ssid = "";
  g_pass = "";

  Serial.begin(115200);
  
  delay(100);

  Serial.println("\r\n");
  Serial.print("Chip ID: ");
  Serial.println(ESP.getChipId(), HEX);

  // Initialize file system.
  if (!SPIFFS.begin())

  // Store SSID and PSK into string vars.
  *ssid = content.substring(0, pos);
  *pass = content.substring(pos + 2);

  return true;
} // loadConfig
