From 512567b9f31de764266679464b827646bf81da72 Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 27 Mar 2020 21:03:23 +0100 Subject: [PATCH] Fixed typos --- src/RadioLib.h | 5 ----- src/TypeDef.h | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/RadioLib.h b/src/RadioLib.h index 78b0f8ae..d434a8d5 100644 --- a/src/RadioLib.h +++ b/src/RadioLib.h @@ -44,9 +44,7 @@ #endif #include "modules/CC1101/CC1101.h" -//#if !defined(ESP8266) && !defined(ARDUINO_ARDUINO_NANO33BLE) #include "modules/ESP8266/ESP8266.h" -//#endif #include "modules/HC05/HC05.h" #include "modules/JDY08/JDY08.h" #include "modules/nRF24/nRF24.h" @@ -54,7 +52,6 @@ #include "modules/RFM9x/RFM95.h" #include "modules/RFM9x/RFM96.h" #include "modules/RFM9x/RFM97.h" -//#include "modules/Si443x/Si4432.h" #include "modules/SX1231/SX1231.h" #include "modules/SX126x/SX1261.h" #include "modules/SX126x/SX1262.h" @@ -74,11 +71,9 @@ #include "protocols/RTTY/RTTY.h" // transport layer protocols -//#if !defined(ESP8266) && !defined(ARDUINO_ARDUINO_NANO33BLE) #include "protocols/TransportLayer/TransportLayer.h" #include "protocols/HTTP/HTTP.h" #include "protocols/MQTT/MQTT.h" -//#endif // only create Radio class when using RadioShield #ifdef RADIOLIB_RADIOSHIELD diff --git a/src/TypeDef.h b/src/TypeDef.h index 08c58f6e..4f4c2171 100644 --- a/src/TypeDef.h +++ b/src/TypeDef.h @@ -14,10 +14,10 @@ * RADIOLIB_PIN_MODE - which type should be used for pin modes in functions like pinMode(). * RADIOLIB_PIN_STATUS - which type should be used for pin values in functions like digitalWrite(). * RADIOLIB_NC - alias for unused pin, usually the largest possible value of RADIOLIB_PIN_TYPE. - * RADIOLIB_SOFTWARE_SERIAL_UNSUPPORTED - defined if the specific platfrom does not support SoftwareSerial. - * RADIOLIB_HARDWARE_SERIAL_PORT - which hardware serial port should be used on platfroms taht do not have SoftwareSerial support. + * RADIOLIB_SOFTWARE_SERIAL_UNSUPPORTED - defined if the specific platform does not support SoftwareSerial. + * RADIOLIB_HARDWARE_SERIAL_PORT - which hardware serial port should be used on platform that do not have SoftwareSerial support. * - * In addition, some platforms amy require RadioLib to disable spceific drivers (such as ESP8266). + * In addition, some platforms may require RadioLib to disable specific drivers (such as ESP8266). */ #if defined(__AVR__) && !(defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined(ARDUINO_AVR_NANO_EVERY)) // Arduino AVR boards (except for megaAVR) - Uno, Mega etc.