Skip to content
Snippets Groups Projects
Commit 2a2de99d authored by Jan Grewe's avatar Jan Grewe
Browse files

more cleanup

parent c2e4dc1e
Branches
No related tags found
No related merge requests found
#include "config.h"
#include "states.h"
#include <Arduino_LoRaWAN_ttn.h>
#include <lmic.h>
#include <hal/hal.h>
#include <SPI.h>
#include <CayenneLPP.h>
#include "power.h"
#include "gps.h"
#include "lora.h"
#include "button.h"
#include <CayenneLPP.h>
int state;
RTC_DATA_ATTR int bootCount = 0;
......@@ -34,7 +30,7 @@ void printPayload() {
static void bootInfo()
{
++bootCount;
Serial.println("Boot number: " + String(bootCount));
Serial.printf("Boot number: %d\n", bootCount);
esp_sleep_wakeup_cause_t wakeup_reason;
wakeup_reason = esp_sleep_get_wakeup_cause();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment