Skip to content

Commit 8b838f7

Browse files
committed
Remove USBHost stuff
1 parent b70498b commit 8b838f7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Arduino_MachineControl.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include "pinDefinitions.h"
1414
#include "mbed.h"
1515

16-
#include "USBHost.h"
17-
1816
namespace machinecontrol {
1917

2018
/**
@@ -529,16 +527,6 @@ extern RtcControllerClass rtc_controller;
529527
*/
530528
class USBClass {
531529
public:
532-
/**
533-
* Configures the USB host by providing the list of callbacks to support the behaviour
534-
* of the host (keyboard, mouse, storage device etc)
535-
*
536-
* @param class_table a pointer to the structure containing the list of callbacks
537-
*/
538-
void init(const tusbh_class_reg_t *class_table) {
539-
usb.Init(USB_CORE_ID_FS, class_table);
540-
}
541-
542530
/**
543531
* Enable power to USBA VBUS.
544532
*/
@@ -562,8 +550,6 @@ class USBClass {
562550
return usbflag;
563551
}
564552

565-
USBHost usb;
566-
567553
private:
568554
mbed::DigitalOut power = mbed::DigitalOut(PB_14);
569555
mbed::DigitalIn usbflag = mbed::DigitalIn(PB_15);

0 commit comments

Comments
 (0)