aboutsummaryrefslogtreecommitdiff
path: root/quantum/painter/qp.h
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2024-09-18 12:44:33 +0100
committerGitHub <noreply@github.com>2024-09-18 21:44:33 +1000
commit49e339ba8d03e80f13190260ec92ba64bbb34998 (patch)
treec21ada655602b03f0a4075ce365bca62e84391ab /quantum/painter/qp.h
parent7983f7409b3f002849a321757d9bf18533e931a5 (diff)
Add LD7032 support to QP. (#20828)
Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Diffstat (limited to 'quantum/painter/qp.h')
-rw-r--r--quantum/painter/qp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/painter/qp.h b/quantum/painter/qp.h
index 820c418f43..3dc77b42cf 100644
--- a/quantum/painter/qp.h
+++ b/quantum/painter/qp.h
@@ -557,6 +557,12 @@ int16_t qp_drawtext_recolor(painter_device_t device, uint16_t x, uint16_t y, pai
# define SH1106_NUM_DEVICES 0
#endif // QUANTUM_PAINTER_SH1106_ENABLE
+#ifdef QUANTUM_PAINTER_LD7032_ENABLE
+# include "qp_ld7032.h"
+#else // QUANTUM_PAINTER_LD7032_ENABLE
+# define LD7032_NUM_DEVICES 0
+#endif // QUANTUM_PAINTER_LD7032_ENABLE
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Quantum Painter Extras