File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 13
13
#include " pinDefinitions.h"
14
14
#include " mbed.h"
15
15
16
- #include " USBHost.h"
17
-
18
16
namespace machinecontrol {
19
17
20
18
/* *
@@ -529,16 +527,6 @@ extern RtcControllerClass rtc_controller;
529
527
*/
530
528
class USBClass {
531
529
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
-
542
530
/* *
543
531
* Enable power to USBA VBUS.
544
532
*/
@@ -562,8 +550,6 @@ class USBClass {
562
550
return usbflag;
563
551
}
564
552
565
- USBHost usb;
566
-
567
553
private:
568
554
mbed::DigitalOut power = mbed::DigitalOut(PB_14);
569
555
mbed::DigitalIn usbflag = mbed::DigitalIn(PB_15);
You can’t perform that action at this time.
0 commit comments