| 1 | #include "peripheral_usb.h" |
| 2 | |
| 3 | PeripheralUSB::PeripheralUSB() { |
| 4 | _DP = USB_PERIPHERAL_PIN_DPLUS; |
| 5 | _Enable5v = USB_PERIPHERAL_PIN_5V; |
| 6 | _Order = USB_PERIPHERAL_PIN_ORDER; |
| 7 | } |
| 8 | |
| 9 | void PeripheralUSB::setConfig(uint8_t block, int8_t dp, int8_t enable5v, uint8_t order) { |
| 10 | if (block < NUM_USBS) { |
nothing calls this directly
no outgoing calls
no test coverage detected