Skip to content

Commit

Permalink
Fix typo in GPIO define name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian King authored and Ian King committed Mar 18, 2020
1 parent b250c59 commit a9372fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tasmota/tasmota_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tasmota/xlgt_06_electriq_moodl.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a9372fa

Please sign in to comment.