Compiling error proffie

i get the following error, one i dont understand at all since nothing changed in those lines.

Arduino: 1.8.16 (Windows 10), Board: “Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code”

In file included from D:\saber\ProffieOS\ProffieOS.ino:529:

D:\saber\ProffieOS\config\mysaber.h:313:2: error: expected ‘}’ before ‘;’ token

313 | };

  |  ^

In file included from D:\saber\ProffieOS\ProffieOS.ino:529:

D:\saber\ProffieOS\config\mysaber.h:31:20: note: to match this ‘{’

31 | Preset presets[] = {

  |                    ^

In file included from D:\saber\ProffieOS\ProffieOS.ino:529:

D:\saber\ProffieOS\config\mysaber.h:313:2: error: cannot convert ‘’ to ‘const char*’ in initialization

313 | };

  |  ^

exit status 1

Error compiling for board Proffieboard V2.

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

this is the config #ifdef CONFIG_TOP#include "proffieboard_v2_config.h"#define NUM_BLADES 1#d - Pastebin.com

The compiler is not always good at figuring out which line the problem is actually on.

To me, it looks like the preset that starts on line 245 is missing the closing brace, and the comma that should be between presets.

Basically, if you add }, on line 308, it might work better.