Code Error

Please help I’m a newbie. This is the message I’m getting

C:\Users\idtow\OneDrive\Desktop\ProffieOS\config\aniflex2.h:109:1: error: expected unqualified-id before ‘}’ token

109 | };

  | ^

C:\Users\idtow\OneDrive\Desktop\ProffieOS\config\aniflex2.h:109:1: error: expected declaration before ‘}’ token

Also, What is the appropriate method for posting my entire code here so it can be looked at if necessary? Thanks!

aniflex2.h (16.6 KB)

Your config file ends the preset array on line 75 (};) then there is another preset, and then it ends it again on line 111. Remove line 75 and see if that helps.

Thank you. I did and here is the error this time:
Arduino: 1.8.19 (Windows 10), Board: “Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, half, Smallest Code”

In file included from C:\Users\idtow\OneDrive\Desktop\ProffieOS\ProffieOS.ino:621:

C:\Users\idtow\OneDrive\Desktop\ProffieOS\config\aniflex2.h:106: error: cannot convert ‘StyleFactory*’ to ‘const char*’ in initialization

106 |

C:\Users\idtow\OneDrive\Desktop\ProffieOS\config\aniflex2.h:111:1: error: expected unqualified-id before ‘}’ token

111 | };

  | ^

C:\Users\idtow\OneDrive\Desktop\ProffieOS\config\aniflex2.h:111:1: error: expected declaration before ‘}’ token

exit status 1

Error compiling for board Proffieboard V2.

aniflex2.h (16.6 KB)

Thank You again but I figured it out. I used the Fett263 blade builder and I’m not sure how I wound up with 2 presets. I just deleted the second one and it’s verifying now.