forked from mirror/qmk_firmware
Add compiler_support.h (#25274)
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "qp_internal.h"
|
||||
|
||||
#include "compiler_support.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Quantum Painter Core API: device registration
|
||||
|
||||
@@ -67,7 +69,7 @@ static void qp_internal_display_timeout_task(void) {
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Quantum Painter Core API: qp_internal_task
|
||||
|
||||
_Static_assert((QUANTUM_PAINTER_TASK_THROTTLE) > 0 && (QUANTUM_PAINTER_TASK_THROTTLE) < 1000, "QUANTUM_PAINTER_TASK_THROTTLE must be between 1 and 999");
|
||||
STATIC_ASSERT((QUANTUM_PAINTER_TASK_THROTTLE) > 0 && (QUANTUM_PAINTER_TASK_THROTTLE) < 1000, "QUANTUM_PAINTER_TASK_THROTTLE must be between 1 and 999");
|
||||
|
||||
void qp_internal_task(void) {
|
||||
// Perform throttling of the internal processing of Quantum Painter
|
||||
|
||||
Reference in New Issue
Block a user