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