Skip to content

Commit

Permalink
Removed auto output selection
Browse files Browse the repository at this point in the history
Removed auto output selection of decimal or hexadecimal data based on user input. Now only based on ``SetOption17``
  • Loading branch information
arendst committed Nov 4, 2020
1 parent 2d03bb3 commit 78196f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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``
9 changes: 6 additions & 3 deletions tasmota/xdrv_04_light.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

1 comment on commit 78196f0

@emontnemery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Please sign in to comment.