Skip to content

Missing HID macro definitions #66

@obra

Description

@obra

If I revert a953610, I'm now seeing missing definitions:

/Users/jesse/Documents/Arduino/libraries/HID/src/SingleReport/BootKeyboard.cpp: In member function 'virtual bool BootKeyboard_::setup(USBSetup&)':
/Users/jesse/Documents/Arduino/libraries/HID/src/SingleReport/BootKeyboard.cpp:150:24: error: 'HID_REPORT_TYPE_FEATURE' was not declared in this scope
    if(setup.wValueH == HID_REPORT_TYPE_FEATURE){
                        ^
/Users/jesse/Documents/Arduino/libraries/HID/src/SingleReport/BootKeyboard.cpp:165:29: error: 'HID_REPORT_TYPE_OUTPUT' was not declared in this scope
    else if(setup.wValueH == HID_REPORT_TYPE_OUTPUT){
                             ^
/Users/jesse/Documents/Arduino/libraries/HID/src/SingleReport/BootKeyboard.cpp:173:29: error: 'HID_REPORT_TYPE_INPUT' was not declared in this scope
    else if(setup.wValueH == HID_REPORT_TYPE_INPUT)
                             ^
exit status 1

It looks almost like there's a missing header file that just never got checked in. Grepping for HID_REPORT_TYPE_ , I see checks but no definitions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions