Skip to content

Debug "Serial" object use in the library can cause issues with small platforms that don't have it. #856

@Makuna

Description

@Makuna

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):

  • OS: [e.g. Win10]
  • Build Environment [e.g. Arduino IDE v.1.8.10]
  • Board target [e.g. AVR Mege 2560, v 1.10.31 ] - you will need to check the board manager for this.
  • Library version [e.g. v2.3.4] - you will need to check the library manager for this. If you used github to clone it, mention this and include the reference.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions