UI fixes & revert forcing ULTRAWHITE for on/off bus

Reduce min heap for 8266
This commit is contained in:
Blaz Kristan
2023-03-02 18:21:55 +01:00
parent b8489724ef
commit c151221d12
7 changed files with 1987 additions and 1981 deletions

View File

@@ -361,7 +361,7 @@ void BusOnOff::setPixelColor(uint16_t pix, uint32_t c) {
uint8_t b = B(c);
uint8_t w = W(c);
_data = bool((r+g+b+w) && _bri) ? 0xFF : 0;
_data = bool(r|g|b|w) && bool(_bri) ? 0xFF : 0;
}
uint32_t BusOnOff::getPixelColor(uint16_t pix) {