Skip to content

RAWHID_ENABLED flag not checked correctly in HID.cpp #2199

Closed
@sonovice

Description

@sonovice

In the "Arduino\hardware\arduino\avr\cores\arduino\HID.cpp" file in line 109 it says:

if RAWHID_ENABLED

while it should be

ifdef RAWHID_ENABLED

to work properly. This tiny bug turned out to be pretty nasty, had to search quite a while for it...

I am using 1.5.7 of the IDE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions