Serial.print now covered by LogSerial class

This commit is contained in:
Lubos Petrovic
2020-12-27 15:39:35 +01:00
parent 5df0732772
commit fbdfd1f1e3
11 changed files with 246 additions and 215 deletions

View File

@@ -7,6 +7,7 @@
#include <sys/time.h>
#include <BLEDevice.h>
#include "config.h"
#include "LogSerial.h"
#include <vector>
// SUPPORTED CARS
@@ -34,15 +35,11 @@
#define SCREEN_CHARGING 5
#define SCREEN_SOC10 6
// DEBUG LEVEL
#define DEBUG_INFO 0
#define DEBUG_COMM 1
#define DEBUG_GPS 2
#define DEBUG_SDCARD 3
//
#define MONTH_SEC 2678400
extern LogSerial* syslog;
// Structure with realtime values
typedef struct {
// System
@@ -215,9 +212,6 @@ typedef struct {
//
} SETTINGS_STRUC;
// Debug functions
void debug(String msg, uint8_t debugLevel = DEBUG_INFO);
// LiveData class
class LiveData {
protected: