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:
James Young 2024-06-03 18:12:28 -07:00
parent 2d7ca71184
commit ee7a826d3a
No known key found for this signature in database
GPG Key ID: 87CBD151019773A8

View File

@ -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 },
};
//////////////////////////////////////////////////////////////////////////////