Shut down the USB bus if we are running USB right now
| 26 | |
| 27 | // Shut down the USB bus if we are running USB right now |
| 28 | void USBHostManager::shutdown() { |
| 29 | if ( tuh_ready ) { |
| 30 | tuh_deinit(BOARD_TUH_RHPORT); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | void USBHostManager::pushListener(USBListener * usbListener) { // If anything needs to update in the gpconfig driver |
| 35 | listeners.push_back(usbListener); |