-
Notifications
You must be signed in to change notification settings - Fork 18
Open

Description
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)
Metadata
Metadata
Assignees
Labels
No labels