Open Makuna opened 1 month ago
OS: Windows 11 Build Environment: Arduino IDE 2.3.2 Board target: ATTiny85. Library version: 2.9.1 CoreShader Branch
#if !(defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR))
static void SerialDumpTables()
{
// Function
}
#endif
This enables the code to compile correctly for ATTiny85, have not yet tested other target boards.
Describe the bug Some platforms don't expose a Serial object. This can cause compiler issues due to debug methods present in the library. An example is the method SerialDumpTables in \colors\NeoGammaDynamicTableMethod.h
To Reproduce
Expected behavior
Development environment (please complete the following information):
Additional context Either wrap in a debug define or change the method to a template method where the object and object type can be provided.