Issue uploading config file to proffieboard saber (older os but should update if it runs)

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

In file included from C:\Users\orang\OneDrive\Desktop\proffieos6.5\ProffieOS\styles\fire.h:4,

                 from C:\Users\orang\OneDrive\Desktop\proffieos6.5\ProffieOS\ProffieOS.ino:433:

C:\Users\orang\OneDrive\Desktop\proffieos6.5\ProffieOS\styles\style_ptr.h: In instantiation of 'OverDriveColor StyleHelper<RetType>::getColor(int) [with RetType = RGBA_nod]':

C:\Users\orang\OneDrive\Desktop\proffieos6.5\ProffieOS\styles\style_ptr.h:35:18:   required from here

C:\Users\orang\OneDrive\Desktop\proffieos6.5\ProffieOS\styles\style_ptr.h:35:63: error: could not convert '((StyleHelper<RGBA_nod>*)this)->StyleHelper<RGBA_nod>::getColor2(i)' from 'RGBA_nod' to 'OverDriveColor'

   35 |   OverDriveColor getColor(int i) override { return getColor2(i); }

      |                                                               ^

      |                                                               |

      |                                                               RGBA_nod

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.

I have no clue what this means

Nevermind I’m dumb, one of my bladestyles was literally just a preon so n wonder it wasn’t working.

1 Like

FYI could not convert from 'RGBA_nod' to 'OverDriveColor' usually means you have a base layer with a color that has transparency. Base layer colors in a style need to be a solid color.
Even making the bottom most layer Black counts because it’s a solid, so it can be used as a workaround if you’re looking to achieve a certain effect where there’s Alpha in the base blade :wink:

1 Like