A second config that I’m working on is throwing an RGBA_nod error.
I watched all of Brian’s video (https://youtu.be/GzuPCI8TLmY?si=gol_wcizVsNW0FAE&t=1434 ) , in which he discusses that this is often due to a transparent layer. I followed his instructions and added the “Black,” code right after the “Layers” statement, but it didn’t fix the issue.
Config in Pastebin - HoCStyleTest - Pastebin.com
Error :
In file included from E:\Documents\Sabers\Proffie\ASP2 - Blue\04-2026 - 33 inch Quantum\ProffieOS\styles\fire.h:4,
from E:\Documents\Sabers\Proffie\ASP2 - Blue\04-2026 - 33 inch Quantum\ProffieOS\ProffieOS.ino:469:
E:\Documents\Sabers\Proffie\ASP2 - Blue\04-2026 - 33 inch Quantum\ProffieOS\styles\style_ptr.h: In instantiation of 'OverDriveColor StyleHelper<RetType>::getColor(int) [with RetType = RGBA_nod]':
E:\Documents\Sabers\Proffie\ASP2 - Blue\04-2026 - 33 inch Quantum\ProffieOS\styles\style_ptr.h:35:18: required from here
E:\Documents\Sabers\Proffie\ASP2 - Blue\04-2026 - 33 inch Quantum\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
Compilation error: could not convert '((StyleHelper<RGBA_nod>*)this)->StyleHelper<RGBA_nod>::getColor2(i)' from 'RGBA_nod' to 'OverDriveColor'
Another example of the code working fine in the Style Editor, but not through Arduino.
OS 7.15