Error message on arduino with bladestyle

what is this error message and how do I fix it:

In file included from C:\Users\linkr\Downloads\ProffieOS-v8.10\ProffieOS\ProffieOS.ino:673:
C:\Users\linkr\Downloads\ProffieOS-v8.10\ProffieOS\config\revan.h:186:1: error: expected ‘}’ before ‘{’ token
186 | {“Kyber;common”, “common/tracks/Apprentice.wav”,
| ^
C:\Users\linkr\Downloads\ProffieOS-v8.10\ProffieOS\config\revan.h:43:20: note: to match this ‘{’
43 | Preset presets = {
| ^
C:\Users\linkr\Downloads\ProffieOS-v8.10\ProffieOS\config\revan.h:186:1: error: expected ‘,’ or ‘;’ before ‘{’ token
186 | {“Kyber;common”, “common/tracks/Apprentice.wav”,
| ^
C:\Users\linkr\Downloads\ProffieOS-v8.10\ProffieOS\config\revan.h:205:1: error: expected declaration before ‘}’ token
205 | };
| ^
exit status 1

Compilation error: expected ‘}’ before ‘{’ token

for context: I bought a soundfont from Jaydalorian.com and when I go to upload the bladestyle to the board that is the error message that appears.

here is the pastebin:

and the font name is called Kyber in the code

I believe your “Radiance” font is missing a comma (“,”) after the “}” (at the end of line 184)

Each preset must be separated by a comma. You may even add another comma at the end of your “Kyber” font (at the end of line 202) so you don’t get the same error next time you add another font.

that worked! sorry that was a really silly mistake!

1 Like

we’ve all done that,