From 6363e2fa96764c5d608a7377b414f04e9aa18c20 Mon Sep 17 00:00:00 2001 From: Staars Date: Wed, 24 Jun 2020 16:20:07 +0200 Subject: [PATCH] remove legacy code --- tasmota/xdrv_33_nrf24l01.ino | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tasmota/xdrv_33_nrf24l01.ino b/tasmota/xdrv_33_nrf24l01.ino index 442bcb4db..7b8f173f9 100644 --- a/tasmota/xdrv_33_nrf24l01.ino +++ b/tasmota/xdrv_33_nrf24l01.ino @@ -21,6 +21,7 @@ Version yyyymmdd Action Description -------------------------------------------------------------------------------------------- + 0.9.0.1 20200624 changes - removed unused legacy code --- 0.9.0.0 20191127 started - further development by Christian Baars forked - from arendst/tasmota - https://github.com/arendst/Tasmota @@ -38,18 +39,10 @@ #define XDRV_33 33 -#define MOSI 13 -#define MISO 12 -#define SCK 14 - -#include #include const char NRF24type[] PROGMEM = "NRF24"; -const char HTTP_NRF24[] PROGMEM = - "{s}%sL01%c: " "{m}started{e}"; - struct { uint8_t chipType = 0; // NRF24l01 active: 32 - NRF24L01 , 43- NRF24L01+ ... we mis-use ascii-codes } NRF24; @@ -74,7 +67,6 @@ bool NRF24initRadio() bool NRF24Detect(void) { if (PinUsed(GPIO_SPI_CS) && PinUsed(GPIO_SPI_DC)) { - SPI.pins(SCK,MOSI,MISO,-1); if(NRF24initRadio()){ NRF24.chipType = 32; // SPACE AddLog_P2(LOG_LEVEL_INFO,PSTR("NRF24L01 initialized"));