Skip to content

[Bug] Enabling 32-bit layers and console prevents compilation #25026

Open
@dabstractor

Description

@dabstractor

Describe the Bug

When adding #define LAYER_STATE_32BIT to my config.h to increase the number of layers available, I was not able to compile the firmware while CONSOLE_ENABLE is also defined.

This is due to the fact that the print statement expects and unsigned int, but layer_state_t is now defined as an unsigned long. Changing the print statement to expect an unsigned long allows everything to work perfectly with both features enabled.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions