fix(q5_max): restore void casts for CAPS_MOD vars (QMK uses -Werror=unused-variable)
This commit is contained in:
@@ -149,8 +149,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// CAPS_MOD logic will be handled here in Task 3.
|
// CAPS_MOD handler added in Task 3; suppress unused-variable errors until then.
|
||||||
// For now, we reference the state variables to suppress unused variable warnings.
|
|
||||||
(void)caps_mod_held;
|
(void)caps_mod_held;
|
||||||
(void)caps_mod_ctrl_registered;
|
(void)caps_mod_ctrl_registered;
|
||||||
(void)caps_mod_timer;
|
(void)caps_mod_timer;
|
||||||
|
|||||||
Reference in New Issue
Block a user