reverting _restaurationBri change
see previous discussion
This commit is contained in:
parent
8831c76fb4
commit
45a0061660
@ -237,7 +237,7 @@ class BusDigital : public Bus {
|
|||||||
const ColorOrderMap &_colorOrderMap;
|
const ColorOrderMap &_colorOrderMap;
|
||||||
|
|
||||||
inline uint32_t restoreColorLossy(uint32_t c, uint_fast8_t _restaurationBri) {
|
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;
|
uint8_t* chan = (uint8_t*) &c;
|
||||||
|
|
||||||
for (uint_fast8_t i=0; i<4; i++)
|
for (uint_fast8_t i=0; i<4; i++)
|
||||||
@ -404,4 +404,4 @@ class BusManager {
|
|||||||
return j;
|
return j;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user