   {
     return false;
   }
-  
 }
 
 String requestHeader(String url)
 {
- return "GET "+url+"HTTP/1.1\r\nConnection: close\r\n\r\n";
+  return "GET "+url+"HTTP/1.1\r\nConnection: close\r\n\r\n";
 }
 #endif
 


void pointerLoop();
void pointerChanged();

#ifdef USE_ETHERNET_SHIELD
  #define USE_NETWORK
  EthernetClient client;

#ifdef USE_XS1_SERVER
void xs1Push()
{
  IPAddress ip XS1_IP;
  String url = XS1_URL+String(storageSum(60/TIMEFRAME*5)/5*1.25*60);
  Serial.println("[XS1] Update URL: "+url);
  if (networkRequestIP(ip, url) == true)
  {
    Serial.println("[XS1] updated");
  } else
  {
    Serial.println("[XS1] update failed");
  }
}
#endif

#ifdef USE_NETWORK
bool networkRequestIP(IPAddress ip, String url)
{
  if (client.connect(ip, 80))
  {
    requestHeader(url).toCharArray(requestBuffer, 128);
    client.write(requestBuffer);
