Skip to content

Commit

Permalink
Fix Belgian sendstring file (qmk#10443)
Browse files Browse the repository at this point in the history
Specifically, the `BE_CIRC` is an alt-ed keycode, which means it 
doesn't fit into the 8 bit keycode range...  It should be `BE_SECT`,
as it is already alt-ed by the alt lut.

Confirmed that this change fixes compilation warnings and works 
correctly, on reddit. 
https://www.reddit.com/r/olkb/comments/iywin1/unsigned_conversion_from_int_to_unsigned_char/g6jvfgl/
  • Loading branch information
drashna committed Jan 13, 2021
1 parent 0a3d60d commit 4db4a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/keymap_extras/sendstring_belgian.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const uint8_t ascii_to_keycode_lut[128] PROGMEM = {
// P Q R S T U V W
BE_P, BE_Q, BE_R, BE_S, BE_T, BE_U, BE_V, BE_W,
// X Y Z [ \ ] ^ _
BE_X, BE_Y, BE_Z, BE_CIRC, BE_LABK, BE_DLR, BE_SECT, BE_MINS,
BE_X, BE_Y, BE_Z, BE_SECT, BE_LABK, BE_DLR, BE_SECT, BE_MINS,
// ` a b c d e f g
BE_MICR, BE_A, BE_B, BE_C, BE_D, BE_E, BE_F, BE_G,
// h i j k l m n o
Expand Down

0 comments on commit 4db4a0c

Please sign in to comment.