We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1022106 commit c4f70dfCopy full SHA for c4f70df
libraries/pico_graphics/pico_graphics_pen_1bitY.cpp
@@ -15,7 +15,7 @@ namespace pimoroni {
15
}
16
17
void PicoGraphics_Pen1BitY::set_pen(uint8_t r, uint8_t g, uint8_t b) {
18
- color = std::max(r, std::max(g, b));
+ color = std::max(r, std::max(g, b)) >> 4;
19
20
21
void PicoGraphics_Pen1BitY::set_pixel(const Point &p) {
0 commit comments