Update keyboards/monsgeek/m7/m7.c

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
jonylee@hfd 2025-01-15 17:37:42 +08:00 committed by GitHub
parent 40faf5e61b
commit c40f522cc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,7 +114,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record)
} }
switch (keycode) switch (keycode)
{ {
case RGB_TOG: case RM_TOGG:
if (record->event.pressed) if (record->event.pressed)
{ {
switch (rgb_matrix_get_flags()) switch (rgb_matrix_get_flags())