boards changes

This commit is contained in:
NIIBE Yutaka
2012-05-25 15:36:09 +09:00
parent 6b47ee56b8
commit 2113d5b751
8 changed files with 48 additions and 55 deletions

View File

@@ -15,22 +15,3 @@ hwinit1 (void)
{
hwinit1_common ();
}
void
USB_Cable_Config (int NewState)
{
if (NewState != DISABLE)
palSetPad (IOPORT1, GPIOA_USB_ENABLE);
else
palClearPad (IOPORT1, GPIOA_USB_ENABLE);
}
void
set_led (int value)
{
if (value)
palSetPad (IOPORT1, GPIOA_LED);
else
palClearPad (IOPORT1, GPIOA_LED);
}