Export usb_phy_enable()
This commit is contained in:
@ -72,7 +72,7 @@ void usb_peripheral_reset() {
|
||||
while( (RESET_ACTIVE_STATUS0 & RESET_CTRL0_USB0_RST) == 0 );
|
||||
}
|
||||
|
||||
static void usb_phy_enable() {
|
||||
void usb_phy_enable() {
|
||||
CREG_CREG0 &= ~CREG_CREG0_USB0PHY;
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "usb_type.h"
|
||||
|
||||
void usb_peripheral_reset();
|
||||
void usb_phy_enable();
|
||||
|
||||
void usb_device_init(
|
||||
const uint_fast8_t device_ordinal,
|
||||
|
Reference in New Issue
Block a user