minor corrections

* fix some override problems bus_manager (canShow() must not be const!!!)
* fixing some "comparing integer with different signedness" warnings
This commit is contained in:
Frank
2024-09-21 19:41:51 +02:00
parent 569ba1c626
commit 80a2f2b85b
3 changed files with 26 additions and 26 deletions

View File

@@ -351,9 +351,9 @@ void IRAM_ATTR_YN Segment::setPixelColorXY(int x, int y, uint32_t col) //WLEDMM:
return;
}
const int_fast16_t glen_ = groupLength(); // WLEDMM optimization
const int_fast16_t wid_ = width();
const int_fast16_t hei_ = height();
const uint_fast16_t glen_ = groupLength(); // WLEDMM optimization
const uint_fast16_t wid_ = width();
const uint_fast16_t hei_ = height();
x *= glen_; // expand to physical pixels
y *= glen_; // expand to physical pixels