sanitizations

This commit is contained in:
cyberman54 2018-09-08 13:56:08 +02:00
parent 25d42d4253
commit e4e5cc98e1
5 changed files with 7 additions and 10 deletions

2
.gitignore vendored
View File

@ -9,6 +9,4 @@
.vscode/.browse.c_cpp.db* .vscode/.browse.c_cpp.db*
.clang_complete .clang_complete
.gcc-flags.json .gcc-flags.json
platformio.ini
src/paxcounter.conf
src/loraconf.h src/loraconf.h

View File

@ -44,13 +44,13 @@ build_flags =
; otherwise device may leak RAM ; otherwise device may leak RAM
; ;
; None ; None
; -DCORE_DEBUG_LEVEL=0 -DCORE_DEBUG_LEVEL=0
; Error ; Error
; -DCORE_DEBUG_LEVEL=1 ; -DCORE_DEBUG_LEVEL=1
; Warn ; Warn
; -DCORE_DEBUG_LEVEL=2 ; -DCORE_DEBUG_LEVEL=2
; Info ; Info
-DCORE_DEBUG_LEVEL=3 ; -DCORE_DEBUG_LEVEL=3
; Debug ; Debug
; -DCORE_DEBUG_LEVEL=4 ; -DCORE_DEBUG_LEVEL=4
; Verbose ; Verbose

View File

@ -5,7 +5,6 @@
#define CFG_sx1276_radio 1 #define CFG_sx1276_radio 1
#define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C // OLED-Display on board #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C // OLED-Display on board
//#define DISPLAY_FLIP 1 // uncomment this for rotated display
#define HAS_LED GPIO_NUM_25 // white LED on board #define HAS_LED GPIO_NUM_25 // white LED on board
#define HAS_BUTTON GPIO_NUM_0 // button "PROG" on board #define HAS_BUTTON GPIO_NUM_0 // button "PROG" on board

View File

@ -1,13 +1,13 @@
/* Hardware related definitions for TTGO V2.1 Board /* Hardware related definitions for TTGO V2.1 Board
/ ATTENTION: check your board version! / ATTENTION: check your board version!
/ Different versions are on the market which need different settings in this file: / Different versions are on the market which need different settings in this file:
/ - without label -> settings (2) / - without label -> use settings (2)
/ - labeled v1.5 on pcb -> settings (2) / - labeled V1.5 on pcb -> use settings (2)
/ - labeled v1.6 on pcb -> settings (1) / - labeled V1.6 on pcb -> use settings (1)
/ Choose the right configuration below / Choose the right configuration below
*/ */
// (1) settings for board labeled "t3 v1.6" on pcb // (1) settings for board labeled "T3_V1.6" on pcb
#define HAS_LORA 1 // comment out if device shall not send data via LoRa #define HAS_LORA 1 // comment out if device shall not send data via LoRa
#define HAS_SPI 1 // comment out if device shall not send data via SPI #define HAS_SPI 1 // comment out if device shall not send data via SPI

View File

@ -9,7 +9,7 @@
// Payload send cycle and encoding // Payload send cycle and encoding
#define SEND_SECS 30 // payload send cycle [seconds/2] -> 60 sec. #define SEND_SECS 30 // payload send cycle [seconds/2] -> 60 sec.
#define PAYLOAD_ENCODER 2 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed #define PAYLOAD_ENCODER 1 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed
// Set this to include BLE counting and vendor filter functions // Set this to include BLE counting and vendor filter functions
#define VENDORFILTER 1 // comment out if you want to count things, not people #define VENDORFILTER 1 // comment out if you want to count things, not people