From a9372fae06b775729943595e110e9311022a186c Mon Sep 17 00:00:00 2001 From: Ian King Date: Wed, 18 Mar 2020 10:30:52 +0000 Subject: [PATCH] Fix typo in GPIO define name --- tasmota/tasmota_template.h | 4 ++-- tasmota/xlgt_06_electriq_moodl.ino | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasmota/tasmota_template.h b/tasmota/tasmota_template.h index 15c1c1503..4715f682f 100644 --- a/tasmota/tasmota_template.h +++ b/tasmota/tasmota_template.h @@ -225,7 +225,7 @@ enum UserSelectablePins { GPIO_CC1101_GDO0, // CC1101 pin for RX GPIO_CC1101_GDO2, // CC1101 pin for RX GPIO_HRXL_RX, // Data from MaxBotix HRXL sonar range sensor - GPIO_ELECTRIC_MOODL_TX, // ElectriQ iQ-wifiMOODL Serial TX + GPIO_ELECTRIQ_MOODL_TX, // ElectriQ iQ-wifiMOODL Serial TX GPIO_SENSOR_END }; // Programmer selectable GPIO functionality @@ -614,7 +614,7 @@ const uint8_t kGpioNiceList[] PROGMEM = { GPIO_EXS_ENABLE, // EXS MCU Enable #endif #ifdef USE_ELECTRIQ_MOODL - GPIO_ELECTRIC_MOODL_TX, + GPIO_ELECTRIQ_MOODL_TX, #endif #endif // USE_LIGHT diff --git a/tasmota/xlgt_06_electriq_moodl.ino b/tasmota/xlgt_06_electriq_moodl.ino index f90d3eefb..0ece53dd6 100644 --- a/tasmota/xlgt_06_electriq_moodl.ino +++ b/tasmota/xlgt_06_electriq_moodl.ino @@ -71,7 +71,7 @@ bool ElectriqMoodLSetChannels(void) void ElectriqMoodLModuleSelected(void) { - if (pin[GPIO_ELECTRIC_MOODL_TX] < 99) { + if (pin[GPIO_ELECTRIQ_MOODL_TX] < 99) { SetSerial(9600, TS_SERIAL_8N1); light_type = LT_RGBW; light_flg = XLGT_06;