Proffie 2.2 error

Hi, I’m seeing the below error when verifying my config. Thanks for any help.

In file included from C:\Users\les\Documents\Saber\Proffie Working\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:621:
C:\Users\les\Documents\Saber\Proffie Working\ProffieOS-v7.15\ProffieOS\config\Cal_Kestis_Survivor.h:83:1: error: too many initializers for ‘Preset’
83 | };
| ^
exit status 1
Error compiling for board Proffieboard V2.

It’s unclear to me just yet how pastebin works so not sure if the below will work

lestaylor01 - Pastebin.com

You have one blade but one preset has two styles:

   { "Battery;common", "common/tracks/Battery.wav",
 
    &style_charging,
 
StyleNormalPtr<BLACK, BLACK, 300, 800>(), "Battery\nLevel"}
 
};

My guess is: you want &style_charging, so you need to remove StyleNormalPtr<BLACK, BLACK, 300, 800>(),

Or vice-versa, but you can only keep one.

Excellent, that was it. Thanks for the help, it’s appreciated.

1 Like