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

Error compiling sample code (GamedPad) #72

Closed
limaomerces opened this issue Feb 9, 2022 · 1 comment
Closed

Error compiling sample code (GamedPad) #72

limaomerces opened this issue Feb 9, 2022 · 1 comment

Comments

@limaomerces
Copy link

In file included from c:\Users\Tiago\Documents\Arduino\libraries\EspTinyUSB-master\src\device\msc\flashdisk.cpp:1:
c:\Users\Tiago\Documents\Arduino\libraries\EspTinyUSB-master\src/flashdisk.h:15:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     bool init(char* path = "/fatfs",char* label = NULL);
                            ^~~~~~~~
c:\Users\Tiago\Documents\Arduino\libraries\EspTinyUSB-master\src\host\common\usb_host.cpp: In member function 'bool USBhost::init(bool)':
c:\Users\Tiago\Documents\Arduino\libraries\EspTinyUSB-master\src\host\common\usb_host.cpp:68:31: error: 'const usb_host_client_config_t' has no non-static data member named 'client_event_callback'
         .max_num_event_msg = 5};
                               ^
Compilation error: exit status 1}

Could this error be fixed?

@cojopi
Copy link
Contributor

cojopi commented Feb 13, 2022

PR #75 should have fixed this problem. You should try again updating the library (On Documents\Arduino\libraries\ESP32TinyUSB) with the new changes on Github.
Issues #67 and #65 are the same issue as this one.

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

3 participants