reverting _restaurationBri change

see previous discussion
This commit is contained in:
Frank 2023-07-05 14:26:09 +02:00 committed by GitHub
parent 8831c76fb4
commit 45a0061660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@ class BusDigital : public Bus {
const ColorOrderMap &_colorOrderMap;
inline uint32_t restoreColorLossy(uint32_t c, uint_fast8_t _restaurationBri) {
if (_restaurationBri == 255) return c;
if (_bri == 255) return c;
uint8_t* chan = (uint8_t*) &c;
for (uint_fast8_t i=0; i<4; i++)