code sanitizations

This commit is contained in:
Klaus K Wilting 2018-07-18 20:51:17 +02:00
parent 075604842e
commit d37e7cb461
4 changed files with 2 additions and 9 deletions

View File

@ -11,10 +11,10 @@
; ---> SELECT TARGET PLATFORM HERE! <--- ; ---> SELECT TARGET PLATFORM HERE! <---
[platformio] [platformio]
;env_default = generic env_default = generic
;env_default = heltec ;env_default = heltec
;env_default = ttgov1 ;env_default = ttgov1
env_default = ttgov2 ;env_default = ttgov2
;env_default = ttgov21 ;env_default = ttgov21
;env_default = ttgobeam ;env_default = ttgobeam
;env_default = lopy ;env_default = lopy

View File

@ -2,8 +2,6 @@
#ifdef HAS_ANTENNA_SWITCH #ifdef HAS_ANTENNA_SWITCH
#include <Arduino.h>
// Local logging tag // Local logging tag
static const char TAG[] = "wifi"; static const char TAG[] = "wifi";

View File

@ -71,8 +71,6 @@ extern portMUX_TYPE timerMux;
// class for preparing payload data // class for preparing payload data
#include "payload.h" #include "payload.h"
// payload encoder
#if PAYLOAD_ENCODER == 1 #if PAYLOAD_ENCODER == 1
extern TTNplain payload; extern TTNplain payload;
#elif PAYLOAD_ENCODER == 2 #elif PAYLOAD_ENCODER == 2
@ -83,7 +81,6 @@ extern CayenneLPP payload;
#error "No valid payload converter defined" #error "No valid payload converter defined"
#endif #endif
void reset_counters(void); void reset_counters(void);
void blink_LED(uint16_t set_color, uint16_t set_blinkduration); void blink_LED(uint16_t set_color, uint16_t set_blinkduration);
void led_loop(void); void led_loop(void);

View File

@ -1,8 +1,6 @@
#ifndef _PAYLOAD_H_ #ifndef _PAYLOAD_H_
#define _PAYLOAD_H_ #define _PAYLOAD_H_
#include <Arduino.h>
// MyDevices CayenneLPP channels // MyDevices CayenneLPP channels
#define LPP_GPS_CHANNEL 20 #define LPP_GPS_CHANNEL 20
#define LPP_COUNT_WIFI_CHANNEL 21 #define LPP_COUNT_WIFI_CHANNEL 21