diff options
author | Nick Brassel <[email protected]> | 2023-10-22 13:27:31 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-22 13:27:31 +1100 |
commit | 8e614250b4b44a14a6a8c93bea3a6d1fd02790cf (patch) | |
tree | 15c000b7765082911a3a6d84b1499b51c25f43d8 /quantum/painter/qp.h | |
parent | 48d9140cfc197d6f4c54bf8022902d28fac37624 (diff) | |
download | qmk_firmware-8e614250b4b44a14a6a8c93bea3a6d1fd02790cf.tar.gz qmk_firmware-8e614250b4b44a14a6a8c93bea3a6d1fd02790cf.zip |
[QP] Add support for OLED, variable framebuffer bpp (#19997)
Co-authored-by: Pablo MartÃnez <[email protected]>
Co-authored-by: Dasky <[email protected]>
Fixup delta frame coordinates after #20296.
Diffstat (limited to 'quantum/painter/qp.h')
-rw-r--r-- | quantum/painter/qp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/painter/qp.h b/quantum/painter/qp.h index 68cb40aa59..873a9d9f32 100644 --- a/quantum/painter/qp.h +++ b/quantum/painter/qp.h @@ -539,6 +539,12 @@ int16_t qp_drawtext_recolor(painter_device_t device, uint16_t x, uint16_t y, pai # define SSD1351_NUM_DEVICES 0 #endif // QUANTUM_PAINTER_SSD1351_ENABLE +#ifdef QUANTUM_PAINTER_SH1106_ENABLE +# include "qp_sh1106.h" +#else // QUANTUM_PAINTER_SH1106_ENABLE +# define SH1106_NUM_DEVICES 0 +#endif // QUANTUM_PAINTER_SH1106_ENABLE + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Quantum Painter Extras |