Removed auto output selection

Removed auto output selection of decimal or hexadecimal data based on user input. Now only based on ``SetOption17``
This commit is contained in:
Theo Arends 2020-11-04 17:42:30 +01:00
parent 2d03bb3672
commit 78196f0391
3 changed files with 10 additions and 3 deletions

View File

@ -34,6 +34,9 @@ All notable changes to this project will be documented in this file.
- Rule handling of JSON ``null`` regression from v8.5.0.1 (#9685)
- Arilux RF remote detection regression from v8.3.0
### Removed
- Auto output selection of decimal or hexadecimal data based on user input. Now only based on ``SetOption17``
## [9.0.0.2] - 20201025
### Added
- Support for Vietnamese language translations by Tâm.NT

View File

@ -133,3 +133,4 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota
- Support for direct upgrade from Tasmota versions before v7.0
- Support for downgrade to versions before 9.0 keeping current GPIO configuration
- Auto config update for all Friendlynames and Switchtopic from Tasmota versions before v8.0
- Auto output selection of decimal or hexadecimal data based on user input. Now only based on ``SetOption17``

View File

@ -2556,9 +2556,12 @@ bool LightColorEntry(char *buffer, uint32_t buffer_length)
entry_type = 1; // Hexadecimal
}
}
if (entry_type) {
Settings.flag.decimal_text = entry_type -1; // SetOption17 - Switch between decimal or hexadecimal output
}
// Too much magic so removed since 9.0.0.3
// if (entry_type) {
// Settings.flag.decimal_text = entry_type -1; // SetOption17 - Switch between decimal or hexadecimal output
// }
return (entry_type);
}