Was messing with Arduino and seemed to mess up my board! :(

So, little backstory. I recently bought a proffie lightsaber from neosabers and when i received it the gesture control for turning on and off was not working. Along with the ability to change blade and ignition styles. So I downloaded arduino IDE and was messing with different configs. the one I was trying to use, the basic proffieboard_v2_config.h was not working and was giving me and error.

"In file included from D:\ProffieOS-v7.8\ProffieOS\styles\random_blink.h:15,
                 from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:491:
D:\ProffieOS-v7.8\ProffieOS\functions\random_blink.h:28:25: error: 'maxLedsPerStrip' was not declared in this scope
   28 |   unsigned short bits_[(maxLedsPerStrip + 15)/ 16];
      |                         ^~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\functions\random_blink.h: In member function 'void RandomBlinkF<MILLIHZ>::run(BladeBase*)':
D:\ProffieOS-v7.8\ProffieOS\functions\random_blink.h:19:43: error: 'bits_' was not declared in this scope; did you mean 'bit'?
   19 |       for (size_t i = 0; i < shorts; i++) bits_[i] = rand();
      |                                           ^~~~~
      |                                           bit
D:\ProffieOS-v7.8\ProffieOS\functions\random_blink.h: In member function 'int RandomBlinkF<MILLIHZ>::getInteger(int)':
D:\ProffieOS-v7.8\ProffieOS\functions\random_blink.h:23:13: error: 'bits_' was not declared in this scope; did you mean 'bit'?
   23 |     return (bits_[led>>4] >> (led & 0xf) & 1) * 32768;
      |             ^~~~~
      |             bit
In file included from D:\ProffieOS-v7.8\ProffieOS\transitions\doeffect.h:5,
                 from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:564:
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: At global scope:
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:268:10: error: 'BufferedWavPlayer' was not declared in this scope
  268 |   RefPtr<BufferedWavPlayer> hum_player_;
      |          ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:268:27: error: template argument 1 is invalid
  268 |   RefPtr<BufferedWavPlayer> hum_player_;
      |                           ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:269:10: error: 'BufferedWavPlayer' was not declared in this scope
  269 |   RefPtr<BufferedWavPlayer> next_hum_player_;
      |          ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:269:27: error: template argument 1 is invalid
  269 |   RefPtr<BufferedWavPlayer> next_hum_player_;
      |                           ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:270:10: error: 'BufferedWavPlayer' was not declared in this scope
  270 |   RefPtr<BufferedWavPlayer> swing_player_;
      |          ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:270:27: error: template argument 1 is invalid
  270 |   RefPtr<BufferedWavPlayer> swing_player_;
      |                           ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:271:10: error: 'BufferedWavPlayer' was not declared in this scope
  271 |   RefPtr<BufferedWavPlayer> lock_player_;
      |          ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:271:27: error: template argument 1 is invalid
  271 |   RefPtr<BufferedWavPlayer> lock_player_;
      |                           ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:310:10: error: 'BufferedWavPlayer' was not declared in this scope
  310 |   RefPtr<BufferedWavPlayer> PlayPolyphonic(const Effect::FileID& f)  {
      |          ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:310:27: error: template argument 1 is invalid
  310 |   RefPtr<BufferedWavPlayer> PlayPolyphonic(const Effect::FileID& f)  {
      |                           ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:323:10: error: 'BufferedWavPlayer' was not declared in this scope
  323 |   RefPtr<BufferedWavPlayer> PlayPolyphonic(Effect* f)  {
      |          ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:323:27: error: template argument 1 is invalid
  323 |   RefPtr<BufferedWavPlayer> PlayPolyphonic(Effect* f)  {
      |                           ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:464:33: error: 'BufferedWavPlayer' was not declared in this scope
  464 |   Effect::FileID getNext(RefPtr<BufferedWavPlayer> previous, Effect* next) {
      |                                 ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:464:50: error: template argument 1 is invalid
  464 |   Effect::FileID getNext(RefPtr<BufferedWavPlayer> previous, Effect* next) {
      |                                                  ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::Activate()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:202:5: error: 'SetupStandardAudio' was not declared in this scope
  202 |     SetupStandardAudio();
      |     ^~~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::Deactivate()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:259:18: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::lock_player_', which is of non-class type 'int'
  259 |     lock_player_.Free();
      |                  ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:260:17: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::hum_player_', which is of non-class type 'int'
  260 |     hum_player_.Free();
      |                 ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:261:22: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::next_hum_player_', which is of non-class type 'int'
  261 |     next_hum_player_.Free();
      |                      ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:262:19: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::swing_player_', which is of non-class type 'int'
  262 |     swing_player_.Free();
      |                   ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::PlayMonophonic(const Effect::FileID&, Effect*, float)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:276:26: error: 'GetFreeWavPlayer' was not declared in this scope
  276 |       next_hum_player_ = GetFreeWavPlayer();
      |                          ^~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:283:18: error: base operand of '->' is not a pointer
  283 |       hum_player_->set_fade_time(xfade);
      |                  ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:284:18: error: base operand of '->' is not a pointer
  284 |       hum_player_->FadeAndStop();
      |                  ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:285:19: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::hum_player_', which is of non-class type 'int'
  285 |       hum_player_.Free();
      |                   ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:286:23: error: base operand of '->' is not a pointer
  286 |       next_hum_player_->set_volume_now(0);
      |                       ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:287:23: error: base operand of '->' is not a pointer
  287 |       next_hum_player_->set_fade_time(xfade);
      |                       ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:288:23: error: base operand of '->' is not a pointer
  288 |       next_hum_player_->set_volume(font_config.volEff / 16.0f);
      |                       ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:290:23: error: base operand of '->' is not a pointer
  290 |       next_hum_player_->set_volume_now(font_config.volEff / 16.0f);
      |                       ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:293:22: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::next_hum_player_', which is of non-class type 'int'
  293 |     next_hum_player_.Free();
      |                      ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:294:16: error: base operand of '->' is not a pointer
  294 |     hum_player_->PlayOnce(f);
      |                ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:295:41: error: base operand of '->' is not a pointer
  295 |     current_effect_length_ = hum_player_->length();
      |                                         ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:296:26: error: base operand of '->' is not a pointer
  296 |     if (loop) hum_player_->PlayLoop(loop);
      |                          ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::RestartHum()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:305:35: error: base operand of '->' is not a pointer
  305 |     if (hum_player_ && hum_player_->isPlaying()) {
      |                                   ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'int HybridFont::PlayPolyphonic(const Effect::FileID&)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:312:27: error: 'BufferedWavPlayer' was not declared in this scope
  312 |     if (!f) return RefPtr<BufferedWavPlayer>(nullptr);
      |                           ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:312:44: error: template argument 1 is invalid
  312 |     if (!f) return RefPtr<BufferedWavPlayer>(nullptr);
      |                                            ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:313:12: error: 'BufferedWavPlayer' was not declared in this scope
  313 |     RefPtr<BufferedWavPlayer> player = GetOrFreeWavPlayer(f.GetEffect());
      |            ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:313:29: error: template argument 1 is invalid
  313 |     RefPtr<BufferedWavPlayer> player = GetOrFreeWavPlayer(f.GetEffect());
      |                             ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:313:40: error: 'GetOrFreeWavPlayer' was not declared in this scope
  313 |     RefPtr<BufferedWavPlayer> player = GetOrFreeWavPlayer(f.GetEffect());
      |                                        ^~~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:315:13: error: base operand of '->' is not a pointer
  315 |       player->set_volume_now(font_config.volEff / 16.0f);
      |             ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:316:13: error: base operand of '->' is not a pointer
  316 |       player->PlayOnce(f);
      |             ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:317:38: error: base operand of '->' is not a pointer
  317 |       current_effect_length_ = player->length();
      |                                      ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual void HybridFont::StartSwing(const Vec3&, float, float)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:362:28: error: base operand of '->' is not a pointer
  362 |           if (swing_player_->pos() / swing_player_->length() >= font_config.ProffieOSSwingOverlap) {
      |                            ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:362:51: error: base operand of '->' is not a pointer
  362 |           if (swing_player_->pos() / swing_player_->length() >= font_config.ProffieOSSwingOverlap) {
      |                                                   ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:363:26: error: base operand of '->' is not a pointer
  363 |             swing_player_->set_fade_time(swing_player_->length() - swing_player_->pos());
      |                          ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:363:55: error: base operand of '->' is not a pointer
  363 |             swing_player_->set_fade_time(swing_player_->length() - swing_player_->pos());
      |                                                       ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:363:81: error: base operand of '->' is not a pointer
  363 |             swing_player_->set_fade_time(swing_player_->length() - swing_player_->pos());
      |                                                                                 ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:364:26: error: base operand of '->' is not a pointer
  364 |             swing_player_->FadeAndStop();
      |                          ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:365:27: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::swing_player_', which is of non-class type 'int'
  365 |             swing_player_.Free();
      |                           ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:413:21: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::swing_player_', which is of non-class type 'int'
  413 |       swing_player_.Free();
      |                     ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual float HybridFont::SetSwingVolume(float, float)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:427:24: error: base operand of '->' is not a pointer
  427 |       if (swing_player_->isPlaying()) {
      |                        ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:430:22: error: base operand of '->' is not a pointer
  430 |         swing_player_->set_fade_time(0.04);
      |                      ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:431:22: error: base operand of '->' is not a pointer
  431 |         swing_player_->set_volume(accent_volume);
      |                      ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:434:23: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::swing_player_', which is of non-class type 'int'
  434 |         swing_player_.Free();
      |                       ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::SB_Preon()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:453:14: error: 'BufferedWavPlayer' was not declared in this scope
  453 |       RefPtr<BufferedWavPlayer> tmp = PlayPolyphonic(&SFX_preon);
      |              ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:453:31: error: template argument 1 is invalid
  453 |       RefPtr<BufferedWavPlayer> tmp = PlayPolyphonic(&SFX_preon);
      |                               ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'Effect::FileID HybridFont::getNext(int, Effect*)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:466:22: error: base operand of '->' is not a pointer
  466 |       return previous->current_file_id().GetFollowing(next);
      |                      ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::SB_Postoff()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:475:12: error: 'BufferedWavPlayer' was not declared in this scope
  475 |     RefPtr<BufferedWavPlayer> tmp = GetWavPlayerPlaying(&SFX_pstoff);
      |            ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:475:29: error: template argument 1 is invalid
  475 |     RefPtr<BufferedWavPlayer> tmp = GetWavPlayerPlaying(&SFX_pstoff);
      |                             ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:475:37: error: 'GetWavPlayerPlaying' was not declared in this scope
  475 |     RefPtr<BufferedWavPlayer> tmp = GetWavPlayerPlaying(&SFX_pstoff);
      |                                     ^~~~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:477:10: error: base operand of '->' is not a pointer
  477 |       tmp->UpdateSaberBaseSoundInfo();
      |          ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual void HybridFont::SB_On()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:494:22: error: 'GetFreeWavPlayer' was not declared in this scope
  494 |        hum_player_ = GetFreeWavPlayer();
      |                      ^~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:496:21: error: base operand of '->' is not a pointer
  496 |          hum_player_->set_volume_now(0);
      |                     ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:497:15: error: base operand of '->' is not a pointer
  497 |    hum_player_->PlayOnce(getNext(GetWavPlayerPlaying(getOut()), SFX_humm ? &SFX_humm : &SFX_hum));
      |               ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:497:34: error: 'GetWavPlayerPlaying' was not declared in this scope
  497 |    hum_player_->PlayOnce(getNext(GetWavPlayerPlaying(getOut()), SFX_humm ? &SFX_humm : &SFX_hum));
      |                                  ^~~~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:498:21: error: base operand of '->' is not a pointer
  498 |          hum_player_->PlayLoop(SFX_humm ? &SFX_humm : &SFX_hum);
      |                     ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:502:14: error: 'BufferedWavPlayer' was not declared in this scope
  502 |       RefPtr<BufferedWavPlayer> tmp;
      |              ^~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:502:31: error: template argument 1 is invalid
  502 |       RefPtr<BufferedWavPlayer> tmp;
      |                               ^
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:504:15: error: 'GetWavPlayerPlaying' was not declared in this scope
  504 |         tmp = GetWavPlayerPlaying(getOut());
      |               ^~~~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:507:13: error: base operand of '->' is not a pointer
  507 |          tmp->UpdateSaberBaseSoundInfo();
      |             ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:516:27: error: base operand of '->' is not a pointer
  516 |         hum_fade_in_ = tmp->length();
      |                           ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:522:34: error: base operand of '->' is not a pointer
  522 |         int delay_ms = 1000 * tmp->length() - font_config.humStart;
      |                                  ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual void HybridFont::SB_Off(SaberBase::OffType)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:564:24: error: base operand of '->' is not a pointer
  564 |             hum_player_->set_fade_time(0.2);
      |                        ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:565:24: error: base operand of '->' is not a pointer
  565 |             hum_player_->FadeAndStop();
      |                        ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:566:25: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::hum_player_', which is of non-class type 'int'
  566 |             hum_player_.Free();
      |                         ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual void HybridFont::SB_BladeDetect(bool)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:634:5: error: 'beeper' was not declared in this scope
  634 |     beeper.Beep(0.05, 2000.0);
      |     ^~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::SB_NewFont()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:638:7: error: 'beeper' was not declared in this scope
  638 |       beeper.Beep(0.05, 2000.0);
      |       ^~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual void HybridFont::SB_Change(SaberBase::ChangeType)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:645:11: error: 'beeper' was not declared in this scope
  645 |           beeper.Beep(0.20, 1000.0);
      |           ^~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:652:11: error: 'beeper' was not declared in this scope
  652 |           beeper.Beep(0.20, 2000.0);
      |           ^~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:659:11: error: 'beeper' was not declared in this scope
  659 |           beeper.Beep(0.05, 2000.0);
      |           ^~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::SB_BeginLockup()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:708:39: error: base operand of '->' is not a pointer
  708 |         if (lock_player_) lock_player_->PlayLoop(loop);
      |                                       ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'void HybridFont::SB_EndLockup()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:745:19: error: base operand of '->' is not a pointer
  745 |       lock_player_->set_fade_time(0.3);
      |                   ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:749:23: error: base operand of '->' is not a pointer
  749 |           lock_player_->set_fade_time(0.003);
      |                       ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:753:19: error: base operand of '->' is not a pointer
  753 |       lock_player_->FadeAndStop();
      |                   ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:754:20: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::lock_player_', which is of non-class type 'int'
  754 |       lock_player_.Free();
      |                    ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual void HybridFont::SetHumVolume(float)':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:766:23: error: 'GetFreeWavPlayer' was not declared in this scope
  766 |         hum_player_ = GetFreeWavPlayer();
      |                       ^~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:768:22: error: base operand of '->' is not a pointer
  768 |           hum_player_->set_volume_now(0);
      |                      ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:769:22: error: base operand of '->' is not a pointer
  769 |           hum_player_->PlayOnce(SFX_humm ? &SFX_humm : &SFX_hum);
      |                      ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:770:22: error: base operand of '->' is not a pointer
  770 |           hum_player_->PlayLoop(SFX_humm ? &SFX_humm : &SFX_hum);
      |                      ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:805:24: error: base operand of '->' is not a pointer
  805 |             hum_player_->FadeAndStop();
      |                        ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:806:25: error: request for member 'Free' in '((HybridFont*)this)->HybridFont::hum_player_', which is of non-class type 'int'
  806 |             hum_player_.Free();
      |                         ^~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:816:16: error: base operand of '->' is not a pointer
  816 |     hum_player_->set_volume(vol);
      |                ^~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h: In member function 'virtual void HybridFont::Loop()':
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:822:12: error: 'GetWavPlayerPlaying' was not declared in this scope
  822 |       if (!GetWavPlayerPlaying(&SFX_preon)) {
      |            ^~~~~~~~~~~~~~~~~~~
D:\ProffieOS-v7.8\ProffieOS\sound\hybrid_font.h:828:12: error: 'GetWavPlayerPlaying' was not declared in this scope
  828 |       if (!GetWavPlayerPlaying(&SFX_in) &&
      |            ^~~~~~~~~~~~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:589:
D:\ProffieOS-v7.8\ProffieOS\styles\style_parser.h: In member function 'virtual bool StyleParser::Parse(const char*, const char*)':
D:\ProffieOS-v7.8\ProffieOS\styles\style_parser.h:379:26: error: 'NUM_BLADES' was not declared in this scope; did you mean 'NO_BLADE'?
  379 |  for (size_t j = 1; j <= NUM_BLADES; j++) {
      |                          ^~~~~~~~~~
      |                          NO_BLADE
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:611:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h: At global scope:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:58:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:615:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:58:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:619:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:58:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\props\saber.h:30,
                 from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:623:
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h: In member function 'float PropBase::GetCurrentClashThreshold()':
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h:235:45: error: 'CLASH_THRESHOLD_G' was not declared in this scope
  235 |   float GetCurrentClashThreshold() { return CLASH_THRESHOLD_G; }
      |                                             ^~~~~~~~~~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:234:
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h: In member function 'size_t PropBase::FindBestConfig()':
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h:567:25: error: 'blades' was not declared in this scope; did you mean 'bladePin'?
  567 |     static_assert(NELEM(blades) > 0, "blades array cannot be empty");
      |                         ^~~~~~
D:\ProffieOS-v7.8\ProffieOS\common\common.h:18:26: note: in definition of macro 'NELEM'
   18 | #define NELEM(X) (sizeof(X)/sizeof((X)[0]))
      |                          ^
In file included from D:\ProffieOS-v7.8\ProffieOS\props\saber.h:30,
                 from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:623:
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h: In member function 'void PropBase::FindBlade()':
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h:622:22: error: 'blades' was not declared in this scope; did you mean 'bladePin'?
  622 |     current_config = blades + best_config;
      |                      ^~~~~~
      |                      bladePin
In file included from D:\ProffieOS-v7.8\ProffieOS\props\saber.h:30,
                 from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:623:
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h: In member function 'virtual void PropBase::DoAccel(const Vec3&, bool)':
D:\ProffieOS-v7.8\ProffieOS\props\prop_base.h:788:14: error: 'CLASH_THRESHOLD_G' was not declared in this scope
  788 |     if (v > (CLASH_THRESHOLD_G + fusor.gyro().len() / 200.0)
      |              ^~~~~~~~~~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:677:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h: At global scope:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:58:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:1555:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
   16 | enum SaberPins {
      |      ^~~~~~~~~
In file included from D:\ProffieOS-v7.8\ProffieOS\ProffieOS.ino:58:
D:\ProffieOS-v7.8\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
   16 | enum SaberPins {
      |      ^~~~~~~~~

exit status 1

Compilation error: 'maxLedsPerStrip' was not declared in this scope"

I then decided to try out another config to see what would happen. So I tried proffieboard_v2_verification_config.h. This one worked! it uploaded to my proffieboard and oh great! Now I have no ability to use my saber. Serial Monitor works and shows me the movements and gestures are working but no sound and no lighting. Please help me fix this. if you need any more info I will try my best to get you it. Completely new to coding and proffie and all that so apologies for being somewhat unhelpful.

proffieboard_v2_config.h is not a complete config file, it just contains all the stuff that is common to all V2 proffieboards.

To make your saber work right, you need a config file where the blades[] array and the button definitions match up with how your saber is wired. Most sabers come with a config file on the SD card, sometimes embedded in a copy of ProffieOS. If you use that config file, your saber should work again.

If it didn’t come with a config file, you should reach out to the place you bought it from and have them send you a config file.

Thank you, I actually just now watched a video about configs and made my own based off of those and was able to get it to work! only problem I had was that when I put blade pixels as 144 the tip didn’t light up. Do you have any solutions to that?

I do: