mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 04:43:02 +00:00
Update keyball struct
Fixes a complation error in `yowkees/lib/keyball/keyball.c`: ``` Compiling: keyboards/yowkees/lib/keyball/keyball.c keyboards/yowkees/lib/keyball/keyball.c:54:24: error: initializer element is not constant .pressing_keys = { BL, BL, BL, BL, BL, BL, 0 }, ^ keyboards/yowkees/lib/keyball/keyball.c:54:24: note: (near initialization for ‘keyball.pressing_keys[0]’) keyboards/yowkees/lib/keyball/keyball.c:54:28: error: initializer element is not constant .pressing_keys = { BL, BL, BL, BL, BL, BL, 0 }, ^ keyboards/yowkees/lib/keyball/keyball.c:54:28: note: (near initialization for ‘keyball.pressing_keys[1]’) keyboards/yowkees/lib/keyball/keyball.c:54:32: error: initializer element is not constant .pressing_keys = { BL, BL, BL, BL, BL, BL, 0 }, ^ keyboards/yowkees/lib/keyball/keyball.c:54:32: note: (near initialization for ‘keyball.pressing_keys[2]’) keyboards/yowkees/lib/keyball/keyball.c:54:36: error: initializer element is not constant .pressing_keys = { BL, BL, BL, BL, BL, BL, 0 }, ^ keyboards/yowkees/lib/keyball/keyball.c:54:36: note: (near initialization for ‘keyball.pressing_keys[3]’) keyboards/yowkees/lib/keyball/keyball.c:54:40: error: initializer element is not constant .pressing_keys = { BL, BL, BL, BL, BL, BL, 0 }, ^ keyboards/yowkees/lib/keyball/keyball.c:54:40: note: (near initialization for ‘keyball.pressing_keys[4]’) keyboards/yowkees/lib/keyball/keyball.c:54:44: error: initializer element is not constant .pressing_keys = { BL, BL, BL, BL, BL, BL, 0 }, ^ keyboards/yowkees/lib/keyball/keyball.c:54:44: note: (near initialization for ‘keyball.pressing_keys[5]’) [ERRORS] | | | gmake: *** [builddefs/common_rules.mk:373: .build/obj_yowkees_keyball39_default/lib/keyball/keyball.o] Error 1 gmake: *** Waiting for unfinished jobs.... ```
This commit is contained in:
parent
2d7ca71184
commit
ee7a826d3a
@ -51,7 +51,7 @@ keyball_t keyball = {
|
||||
.scroll_mode = false,
|
||||
.scroll_div = 0,
|
||||
|
||||
.pressing_keys = { BL, BL, BL, BL, BL, BL, 0 },
|
||||
.pressing_keys = { '\xB0', '\xB0', '\xB0', '\xB0', '\xB0', '\xB0', 0 },
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user