Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard example error #8

Open
deadshxll opened this issue Jul 4, 2023 · 0 comments
Open

Keyboard example error #8

deadshxll opened this issue Jul 4, 2023 · 0 comments

Comments

@deadshxll
Copy link

deadshxll commented Jul 4, 2023

image
Text form:

In file included from c:\Users\tubey\OneDrive\Documents\Arduino\libraries\esp32-usb-v2-master\src/usb_keyboard.hpp:3,
                 from C:\Users\tubey\AppData\Local\Temp\.arduinoIDE-unsaved202364-14888-k6ptyg.sgj5l\keyboard\keyboard.ino:3:
c:\Users\tubey\OneDrive\Documents\Arduino\libraries\esp32-usb-v2-master\src/usb_hid.hpp:86:102: error: 'void tud_hid_report_complete_cb(uint8_t, const uint8_t*, uint8_t)' should have been declared inside '::'
         friend void ::tud_hid_report_complete_cb(uint8_t instance, uint8_t const* report, uint8_t len);
                                                                                                      ^
exit status 1

Compilation error: exit status 1`

From https://github.com/chegewara/esp32-usb-v2/blob/master/examples/arduino/hid/keyboard/keyboard.ino

Running ESP32-S2 from NodeMCU
Selected board in Arduino: ESP32S2 Dev Module (https://dl.espressif.com/dl/package_esp32_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant