Fix GPIO OptionE1 selection regression

Fix GPIO OptionE1 selection regression (#14821)
This commit is contained in:
Theo Arends 2022-02-13 11:22:10 +01:00
parent 5dabb623bf
commit 0d5914cc03
3 changed files with 8 additions and 2 deletions

View File

@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
## [Unreleased] - Development
## [11.0.0.1]
### Added
- ESP32 support for BLE Mi scale V1 (#13517)
- ESP32 integrate Homekit in Bluetooth binary (#14818)
### Changed
- ESP32 update the internal Berry type system to sync with Skiars Berry reopsitory. No expected impact on code, but .bec files need to be generated again. (#14811)
@ -12,6 +14,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- SSPM energy yesterday when zero
- GPIO OptionE1 selection regression (#14821)
## [Released]

View File

@ -105,15 +105,18 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
## Changelog v11.0.0.1
### Added
- ESP32 support for BLE Mi scale V1 [#13517](https://github.com/arendst/Tasmota/issues/13517)
- ESP32 integrate Homekit in Bluetooth binary [#14818](https://github.com/arendst/Tasmota/issues/14818)
### Breaking Changed
### Changed
- ESP32 LVGL library from v8.1.0 to v8.2.0
- ESP32 NimBLE library from v1.3.3 to v1.3.6
- ESP32 update the internal Berry type system to sync with Skiars Berry reopsitory. No expected impact on code, but .bec files need to be generated again. [#14811](https://github.com/arendst/Tasmota/issues/14811)
- ESP32 update the internal Berry type system to sync with Skiars Berry reopsitory. No expected impact on code, but .bec files need to be generated again [#14811](https://github.com/arendst/Tasmota/issues/14811)
### Fixed
- SSPM energy yesterday when zero
- GPIO OptionE1 selection regression [#14821](https://github.com/arendst/Tasmota/issues/14821)
### Removed

View File

@ -1762,7 +1762,7 @@ void GpioInit(void)
}
#ifdef ESP32
else if ((mpin >= AGPIO(GPIO_OPTION_E)) && (mpin < (AGPIO(GPIO_OPTION_E) + MAX_OPTIONS_E))) {
TasmotaGlobal.emulated_module_type = pgm_read_byte(kModuleEmulationList + (mpin - AGPIO(GPIO_OPTION_A)));
TasmotaGlobal.emulated_module_type = pgm_read_byte(kModuleEmulationList + (mpin - AGPIO(GPIO_OPTION_E)));
SetModuleType();
mpin = GPIO_NONE;
}