   SerialUSB.println("Waiting for GPS fix");
 
   digitalWrite(LED_GREEN, LOW);
-  sodaq_gps.scan();
+  // Keep the GPS enabled after we do a scan, increases accuracy
+  sodaq_gps.scan(true);
   digitalWrite(LED_GREEN, HIGH);
 
   while(sodaq_gps.getLat()==0.0)

    SerialUSB.println("Latitude still 0.0, doing another scan");

    digitalWrite(LED_RED, LOW);
    sodaq_gps.scan();
    digitalWrite(LED_RED, HIGH);
  }


    //transmit a startup message
    myLora.tx("TTN Mapper on Sodaq One");

    // Enable next line to enable debug information of the sodaq_gps
    //sodaq_gps.setDiag(SerialUSB);

    // initialize GPS
    sodaq_gps.init(GPS_ENABLE);

