Skip to content

Commit

Permalink
fix usb module demo compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitshaoxiang committed Sep 5, 2023
1 parent 5dda51a commit 6cf2455
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/Module/USB_MAX3421E/usb_mouse/usb_mouse.ino
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ void Mouse_Pointer(int PotDataX, int PotDataY) {

void setup() {
M5.begin();
M5.Power.begin();
Serial.println("M5USB_Demo Start...");
if (Usb.Init() == -1) Serial.println("USB Host Init Error");
HidMouse.SetReportParser(0, (HIDReportParser *)&Prs);
Expand Down

0 comments on commit 6cf2455

Please sign in to comment.