Small typo fixes (#1359)

A few small typo fixes
This commit is contained in:
DigiH authored and GitHub committed 2022-12-12 22:58:51 +01:00
1 parent 2490ba75ab
commit 807c668489
11 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ extern void ADCtoMQTT();
#endif
#ifndef MinTimeInSecBetweenPublishingADC
# define MinTimeInSecBetweenPublishingADC 0 // pub at least at defined interval - usefull to publish values in case they do not change so much ; 0 = disabled
# define MinTimeInSecBetweenPublishingADC 0 // pub at least at defined interval - useful to publish values in case they do not change so much ; 0 = disabled
#endif
/*-------------------PIN DEFINITIONS----------------------*/
+1 -1
View File
@@ -90,7 +90,7 @@ int BME280_PIN_SCL = SCL; // PIN SCL
// Temperature correction for BME280/BMP280 devices
#ifndef BME280Correction
// BME280Correction - Correction in celcius of temperature reported by BME280/BMP280 sensor. Both Celcius and Farenheit temperatures are adjusted.
// BME280Correction - Correction in Celsius of temperature reported by BME280/BMP280 sensor. Both Celsius and Fahrenheit temperatures are adjusted.
// -------------------------
// Value is a float
// ie Compiler Directive '-DBME280Correction=-3.4'
+1 -1
View File
@@ -36,7 +36,7 @@ extern void pubOneWire_HADiscovery();
#define DS1820_ALWAYS true // if false only published current temperature if has changed from previous reading
#define DS1820_INTERVAL_SEC 60UL // time between DS1820 readings (seconds)
#define DS1820_RESOLUTION 10 // conversion times: 9 bit (93.75 ms), 10 bit (187.5 ms), 11 bit (375 ms), 12 bit (750 ms)
#define DS1820_DETAILS true // publish extented info for each sensor (resolution, address, type)
#define DS1820_DETAILS true // publish extended info for each sensor (resolution, address, type)
#define DS1820_CONV_TIME 2000UL // trigger conversion before requesting temperature readings (ms)
/*-------------------PIN DEFINITIONS----------------------*/
+1 -1
View File
@@ -35,7 +35,7 @@
// How many leds in your strip?
#define FASTLED_NUM_LEDS 16
// Uncomment/edit one of the following lines for your leds arrangement.
// Uncomment/edit one of the following lines for your LEDs arrangement.
//#define FASTLED_TYPE TM1803
//#define FASTLED_TYPE TM1804
+1 -1
View File
@@ -87,7 +87,7 @@ public:
void fillScreen(OLEDDISPLAY_COLOR); // fillScreen display and set color
// This is a bit of lazy programmer simplifacation for the semapore and core detecting code. Not sure if it is truly space efficient.
// This is a bit of lazy programmer simplification for the semaphore and core detecting code. Not sure if it is truly space efficient.
inline size_t write(uint8_t x) {
return write(&x, 1);
+1 -1
View File
@@ -185,7 +185,7 @@ extern void MQTTtoIR(char* topicOri, JsonObject& RFdata);
#ifndef IR_EMITTER_INVERTED
# if defined(ESP8266) || defined(ESP32)
# define IR_EMITTER_INVERTED false //set to true if yuou want to reverse the LED signal for the emitter
# define IR_EMITTER_INVERTED false //set to true if you want to reverse the LED signal for the emitter
# endif
#endif
+1 -1
View File
@@ -47,7 +47,7 @@ extern void MQTTtoLORA(char* topicOri, JsonObject& RFdata);
#define LORA_SYNC_WORD 0x12
#define DEFAULT_CRC true
#define repeatLORAwMQTT false // do we repeat a received signal by using mqtt with LORA gateway
#define repeatLORAwMQTT false // do we repeat a received signal by using MQTT with LORA gateway
/*-------------------PIN DEFINITIONS----------------------*/
//TTGO LORA BOARD ESP32 PIN DEFINITION
+1 -1
View File
@@ -37,7 +37,7 @@ extern void MQTTtoONOFF(char* topicOri, JsonObject& RFdata);
#define ONKey "setON"
#define OFFKey "setOFF"
#ifndef ACTUATOR_ON
# define ACTUATOR_ON LOW // LOW or HIGH, set to the output level of the gpio pin to turn the actuator on.
# define ACTUATOR_ON LOW // LOW or HIGH, set to the output level of the GPIO pin to turn the actuator on.
#endif
//# define ACTUATOR_ONOFF_DEFAULT !ACTUATOR_ON // ACTUATOR_ON or !ACTUATOR_ON, set to the state desired on reset.
#ifndef ACTUATOR_BUTTON_TRIGGER_LEVEL
+1 -1
View File
@@ -74,7 +74,7 @@ extern int getRTLMessageCount();
#define subjectGTWRFtoMQTT "/433toMQTT"
#define RFprotocolKey "433_" // protocol will be defined if a subject contains RFprotocolKey followed by a value of 1 digit
#define RFbitsKey "RFBITS_" // bits will be defined if a subject contains RFbitsKey followed by a value of 2 digits
#define repeatRFwMQTT false // do we repeat a received signal by using mqtt with RF gateway
#define repeatRFwMQTT false // do we repeat a received signal by using MQTT with RF gateway
#define RFpulselengthKey "PLSL_" // pulselength will be defined if a subject contains RFprotocolKey followed by a value of 3 digits
// subject monitored to listen traffic processed by other gateways to store data and avoid ntuple
#define subjectMultiGTWRF "+/+/433toMQTT"
+3 -3
View File
@@ -42,15 +42,15 @@ extern void MQTTtoSRFB(char* topicOri, JsonObject& RFdata);
#define SRFBminipulselengthKey "Tlow_"
#define SRFBsyncKey "Tsyn_"
#define repeatSRFBwMQTT false // do we repeat a received signal by using mqtt with Sonoff RF Bridge
#define repeatSRFBwMQTT false // do we repeat a received signal by using MQTT with Sonoff RF Bridge
// -----------------------------------------------------------------------------
// RFBRIDGE
// -----------------------------------------------------------------------------
#define RF_SEND_TIMES 4 // How many times to send the message
#define RF_SEND_DELAY 500 // Interval between sendings in ms
#define RF_RECEIVE_DELAY 500 // Interval between recieving in ms (avoid debouncing)
#define RF_SEND_DELAY 500 // Interval between sending in ms
#define RF_RECEIVE_DELAY 500 // Interval between receiving in ms (avoid debouncing)
// -----------------------------------------------------------------------------
// DEFINITIONS
+3 -3
View File
@@ -61,7 +61,7 @@ extern void createDiscoveryFromList(const char* mac,
* @param sensor_type the Type
* @param st_topic set state topic,
* @param s_name set name,
* @param unique_id set niqueId
* @param unique_id set uniqueId
* @param availability_topic set availability_topic,
* @param device_class set device_class,
* @param value_template set value_template,
@@ -69,8 +69,8 @@ extern void createDiscoveryFromList(const char* mac,
* @param payload_off set payload_off,
* @param unit_of_meas set unit_of_meas,
* @param off_delay set off_delay
* @param payload_available set payload_avalaible,
* @param payload_not_avalaible set payload_not_avalaible
* @param payload_available set payload_available,
* @param payload_not_available set payload_not_available
* @param gateway_entity set is a gateway entity,
* @param cmd_topic set command topic
* @param device_name set device name,