change(usb): Make usb_phy_enable() non static

This commit is contained in:
schneider
2017-01-28 22:32:27 +01:00
parent 202f2ecf54
commit f96ea4b8c2
2 changed files with 2 additions and 1 deletions

View File

@ -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;
} }

View File

@ -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,