diff options
-rw-r--r-- | keyboards/ergodox/keymaps/robot_test_layout/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/ergodox/keymaps/robot_test_layout/keymap.c b/keyboards/ergodox/keymaps/robot_test_layout/keymap.c index 480be177f..e9e2597d7 100644 --- a/keyboards/ergodox/keymaps/robot_test_layout/keymap.c +++ b/keyboards/ergodox/keymaps/robot_test_layout/keymap.c | |||
@@ -68,7 +68,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
68 | case RGB_FF0000: | 68 | case RGB_FF0000: |
69 | if (record->event.pressed) { | 69 | if (record->event.pressed) { |
70 | #ifdef RGBLIGHT_ENABLE | 70 | #ifdef RGBLIGHT_ENABLE |
71 | EZ_RGB(0xff0000); | 71 | EZ_RGB(0xff0000UL); |
72 | register_code(KC_1); unregister_code(KC_1); | 72 | register_code(KC_1); unregister_code(KC_1); |
73 | #endif | 73 | #endif |
74 | } | 74 | } |
@@ -77,7 +77,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
77 | case RGB_00FF00: | 77 | case RGB_00FF00: |
78 | if (record->event.pressed) { | 78 | if (record->event.pressed) { |
79 | #ifdef RGBLIGHT_ENABLE | 79 | #ifdef RGBLIGHT_ENABLE |
80 | EZ_RGB(0x00ff00); | 80 | EZ_RGB(0x00ff00UL); |
81 | register_code(KC_2); unregister_code(KC_2); | 81 | register_code(KC_2); unregister_code(KC_2); |
82 | #endif | 82 | #endif |
83 | } | 83 | } |
@@ -86,7 +86,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
86 | case RGB_0000FF: | 86 | case RGB_0000FF: |
87 | if (record->event.pressed) { | 87 | if (record->event.pressed) { |
88 | #ifdef RGBLIGHT_ENABLE | 88 | #ifdef RGBLIGHT_ENABLE |
89 | EZ_RGB(0x0000ff); | 89 | EZ_RGB(0x0000ffUL); |
90 | register_code(KC_3); unregister_code(KC_3); | 90 | register_code(KC_3); unregister_code(KC_3); |
91 | #endif | 91 | #endif |
92 | } | 92 | } |
@@ -95,7 +95,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
95 | case RGB_FFFFFF: | 95 | case RGB_FFFFFF: |
96 | if (record->event.pressed) { | 96 | if (record->event.pressed) { |
97 | #ifdef RGBLIGHT_ENABLE | 97 | #ifdef RGBLIGHT_ENABLE |
98 | EZ_RGB(0xffffff); | 98 | EZ_RGB(0xffffffUL); |
99 | register_code(KC_4); unregister_code(KC_4); | 99 | register_code(KC_4); unregister_code(KC_4); |
100 | #endif | 100 | #endif |
101 | } | 101 | } |