From 56fab86c216e0de5dd034e130ba01002aa827ebd Mon Sep 17 00:00:00 2001 From: Bertrand Lemasle Date: Mon, 12 Mar 2018 22:34:00 +1300 Subject: [PATCH] Remove/replace some Serial.print --- GpsTracker/Debug.cpp | 1 - GpsTracker/GpsTracker.ino | 2 +- GpsTracker/Positions.h | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/GpsTracker/Debug.cpp b/GpsTracker/Debug.cpp index 615294d..eeefe85 100644 --- a/GpsTracker/Debug.cpp +++ b/GpsTracker/Debug.cpp @@ -114,7 +114,6 @@ namespace debug { void waitForSerial() { while (!Serial); Serial.begin(DEBUG_SERIAL_SPEED); - Serial.println("Starting !"); } int freeRam() { diff --git a/GpsTracker/GpsTracker.ino b/GpsTracker/GpsTracker.ino index 64c8a8e..2aa55b3 100644 --- a/GpsTracker/GpsTracker.ino +++ b/GpsTracker/GpsTracker.ino @@ -80,6 +80,6 @@ void loop() { break; case debug::GPSTRACKER_DEBUG_COMMAND::SD_WRITE_TEST: default: - Serial.println(F("Unsupported command !")); + NOTICE_MSG("loop", "Unsupported"); } } diff --git a/GpsTracker/Positions.h b/GpsTracker/Positions.h index 5cd9c80..df9b29d 100644 --- a/GpsTracker/Positions.h +++ b/GpsTracker/Positions.h @@ -1,7 +1,6 @@ #pragma once #include -#include "PositionsBackup.h" #define POSITION_SIZE 115