From cf170276c620257f7654582fbb4e401a888911ea Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sat, 2 Mar 2019 14:09:12 +0100 Subject: [PATCH] cleanups --- platformio.ini | 6 +++--- src/hal/ttgofox.h | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/platformio.ini b/platformio.ini index 8e36506e..d1feb1c3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -6,7 +6,7 @@ ; ---> SELECT TARGET PLATFORM HERE! <--- [platformio] -;env_default = generic +env_default = generic ;env_default = ebox ;env_default = eboxtube ;env_default = heltec @@ -16,7 +16,7 @@ ;env_default = ttgov21old ;env_default = ttgov21new ;env_default = ttgobeam -env_default = ttgofox +;env_default = ttgofox ;env_default = lopy ;env_default = lopy4 ;env_default = fipy @@ -33,7 +33,7 @@ description = Paxcounter is a proof-of-concept ESP32 device for metering passeng release_version = 1.7.323 ; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose -debug_level = 4 +debug_level = 3 ; UPLOAD MODE: select esptool to flash via USB/UART, select custom to upload to cloud for OTA upload_protocol = esptool ;upload_protocol = custom diff --git a/src/hal/ttgofox.h b/src/hal/ttgofox.h index 32ddb874..3078a467 100644 --- a/src/hal/ttgofox.h +++ b/src/hal/ttgofox.h @@ -28,13 +28,13 @@ //#define HAS_IF482 9600, SERIAL_7E1, GPIO_NUM_12, GPIO_NUM_14 // IF482 serial port parameters // Settings for DCF77 interface -#define HAS_DCF77 GPIO_NUM_14 -#define DCF77_ACTIVE_LOW 1 +//#define HAS_DCF77 GPIO_NUM_14 +//#define DCF77_ACTIVE_LOW 1 // Settings for external GPS chip -#define HAS_GPS 1 // use on board GPS -#define GPS_SERIAL 9600, SERIAL_8N1, GPIO_NUM_17, GPIO_NUM_16 // UBlox NEO 6M or 7M with default configuration -#define GPS_INT GPIO_NUM_13 +//#define HAS_GPS 1 // use on board GPS +//#define GPS_SERIAL 9600, SERIAL_8N1, GPIO_NUM_17, GPIO_NUM_16 // UBlox NEO 6M or 7M with default configuration +//#define GPS_INT GPIO_NUM_13 // Pins for LORA chip SPI interface, reset line and interrupt lines #define LORA_SCK (5)