From 55dd571c49e27b661b903e944634d7bcaacdca5a Mon Sep 17 00:00:00 2001 From: Northern Man Date: Thu, 1 Apr 2021 18:16:14 -0400 Subject: [PATCH] Clean up of redundant compiler definitions (#913) CC1101_FREQUENCY ONBOARD_LED RF_RECEIVER_GPIO Co-authored-by: Northern Man --- main/ZgatewayRTL_433.ino | 3 --- platformio.ini | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/main/ZgatewayRTL_433.ino b/main/ZgatewayRTL_433.ino index 025051b..afdd51f 100644 --- a/main/ZgatewayRTL_433.ino +++ b/main/ZgatewayRTL_433.ino @@ -32,9 +32,6 @@ # include -# define CC1101_FREQUENCY 433.92 -# define ONBOARD_LED 2 - char messageBuffer[JSON_MSG_BUFFER]; rtl_433_ESP rtl_433(-1); // use -1 to disable transmitter diff --git a/platformio.ini b/platformio.ini index 3a074ba..eca9118 100644 --- a/platformio.ini +++ b/platformio.ini @@ -119,7 +119,7 @@ smartrc-cc1101-driver-lib = SmartRC-CC1101-Driver-Lib@2.5.5 stl = https://github.com/mike-matera/ArduinoSTL.git#7411816 shtc3 = https://github.com/sparkfun/SparkFun_SHTC3_Arduino_Library somfy_remote=Somfy_Remote_Lib@0.2.0 -rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP#9ea4e3b +rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP#38ee89a [env] framework = arduino @@ -546,6 +546,7 @@ build_flags = '-DZradioCC1101="CC1101"' '-DZgatewayRTL_433="rtl_433"' '-DGateway_Name="OpenMQTTGateway_rtl_433_ESP"' + '-DRF_RECEIVER_GPIO=4' ; '-DRTL_DEBUG=4' ; enable rtl_433 verbose device decode [env:ttgo-lora32-v1]