File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313#include " pinDefinitions.h"
1414#include " mbed.h"
1515
16- #include " USBHost.h"
17-
1816namespace machinecontrol {
1917
2018/* *
@@ -529,16 +527,6 @@ extern RtcControllerClass rtc_controller;
529527 */
530528class USBClass {
531529public:
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-
567553private:
568554 mbed::DigitalOut power = mbed::DigitalOut(PB_14);
569555 mbed::DigitalIn usbflag = mbed::DigitalIn(PB_15);
You can’t perform that action at this time.
0 commit comments