Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 3b319e8

Browse files
committed
Remove USBHost stuff
1 parent 7e94dc9 commit 3b319e8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Arduino_MachineControl.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#include "Arduino.h"
1313
#include "mbed.h"
1414

15-
#include "USBHost.h"
16-
1715
namespace machinecontrol {
1816

1917
class RTDClass {
@@ -491,10 +489,6 @@ extern RtcControllerClass rtc_controller;
491489

492490
class USBClass {
493491
public:
494-
void init(const tusbh_class_reg_t *class_table) {
495-
usb.Init(USB_CORE_ID_FS, class_table);
496-
}
497-
498492
void powerEnable() {
499493
power = 0;
500494
}
@@ -507,8 +501,6 @@ class USBClass {
507501
return usbflag;
508502
}
509503

510-
USBHost usb;
511-
512504
private:
513505
mbed::DigitalOut power = mbed::DigitalOut(PB_14);
514506
mbed::DigitalIn usbflag = mbed::DigitalIn(PB_15);

0 commit comments

Comments
 (0)