“redefinition of void setup"

I updated to the latest Proffie OS (6.9) and Arduino IDE (2.1.0). When verifying a config, I get “redefinition of void setup" and “void loop”. This happens with configs that used to verify just fine. They all have this same error now. Help!

Please post the full error message and your config file.

C:\Users\hp\Desktop\ProffieOS\trinket.ino:20:6: error: redefinition of 'void setup()'
   20 | void setup() {
      |      ^~~~~
C:\Users\hp\Desktop\ProffieOS\ProffieOS.ino:1407:6: note: 'void setup()' previously defined here
 1407 | void setup() {
      |      ^~~~~
C:\Users\hp\Desktop\ProffieOS\trinket.ino:27:6: error: redefinition of 'void loop()'
   27 | void loop() {
      |      ^~~~
C:\Users\hp\Desktop\ProffieOS\ProffieOS.ino:1520:6: note: 'void loop()' previously defined here
 1520 | void loop() {
      |      ^~~~

exit status 1

Compilation error: redefinition of 'void setup()'
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 2000
const unsigned int maxLedsPerStrip = 144;
#define ENABLE_WS2811
#define ENABLE_SD

#include "../props/blaster.h"

Preset presets[] = {
 { "Solo", "tracks/blast.wav",

BladeConfig blades[] = {
 { 0, 
WS281XBladePtr<1, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) 

Button FireButton(BUTTON_FIRE, powerButtonPin, "fire");
Button ModeButton(BUTTON_MODE_SELECT, auxPin, "modeselect");

Where did this file come from?
It’s not supposed to be in the ProffieOS directory.

I have no idea. I just updated to the latest Proffie and Arduino. Now all my configs that used to verify now display this same error, exactly to the positions of the error message.

Is there a way to correct this on my end?

I reverted back to Proffie 6.7 and all verify as they should.

Obviously you shouldn’t have to do that.
Deleting trinket.ino is probably enough.

Great! Thanks for your help.