     } else {
       Serial.println(F("HTTP POST Sent!"));
     }
+#endif // SEND_HTTP_POST
 
     disable_fona();
   }


// Destination URL of the HTTP POST
char http_post_url[] = "http://rede.infoamazonia.org/api/v1/measurements/new";

// Id of the device
char id[] = "md0000";

// Time elapsed since last measurement (in seconds)
int time_elapsed = 0;

Adafruit_FONA fona = Adafruit_FONA(FONA_RST);


      disable_fona();
      fona_enabled = enable_fona();
    }
    
#if SEND_SMS
    // Send message
    for (i = 0; i < NUM_RETRIES; i++) {
      if (fona.sendSMS(destination, buffer)) {
