-
-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
I try compile new example M5Stack-SD-Menu
but I got errors:
In file included from C:\PROGRAMY\arduino_projekty\libraries\M5Stack-SD-Updater\examples\M5Stack-SD-Menu\M5Stack-SD-Menu.ino:75:0:
sketch\joyPSP.h: In function 'void handleJoyPad()':
joyPSP.h:76:14: error: 'class M5SAM' has no member named 'setListID'
M5Menu.setListID(MenuID);
^
joyPSP.h:90:14: error: 'class M5SAM' has no member named 'setListID'
M5Menu.setListID(MenuID);
^
C:\PROGRAMY\arduino_projekty\libraries\M5Stack-SD-Updater\examples\M5Stack-SD-Menu\M5Stack-SD-Menu.ino: In function 'void renderIcon(uint16_t)':
M5Stack-SD-Menu:191:30: error: cannot convert 'FileInfo' to 'uint16_t {aka short unsigned int}' for argument '1' to 'void renderIcon(uint16_t)'
renderIcon(fileInfo[MenuID]);
^
exit status 1
'class M5SAM' has no member named 'setListID'
when I comment out //#define USE_PSP_JOY true
then got:
C:\tmp\arduino_modified_sketch_208768\M5Stack-SD-Menu.ino: In function 'void renderIcon(uint16_t)':
M5Stack-SD-Menu:191:30: error: cannot convert 'FileInfo' to 'uint16_t {aka short unsigned int}' for argument '1' to 'void renderIcon(uint16_t)'
renderIcon(fileInfo[MenuID]);
^
exit status 1
cannot convert 'FileInfo' to 'uint16_t {aka short unsigned int}' for argument '1' to 'void renderIcon(uint16_t)'
Metadata
Metadata
Assignees
Labels
No labels