From 2a2de99d620f42106a16441f01e5e4e02cd6d0ca Mon Sep 17 00:00:00 2001 From: Jan Grewe <jan@faked.org> Date: Sat, 1 Aug 2020 02:32:29 +0200 Subject: [PATCH] more cleanup --- src/main.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index c4db76f..02eb78c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,14 +1,10 @@ #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(); -- GitLab