Fix some typos in last commit

This commit is contained in:
Gregory Nutt 2015-06-10 17:22:51 -06:00
parent de254f6ac3
commit af0862e3e7
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ void kinetis_setled(int led, bool ledon)
{
if (led == BOARD_LED)
{
kinetis_pinconfig(GPIO_LED);
kinetis_gpiowrite(GPIO_LED, ledon);
}
}
@ -82,7 +82,7 @@ void kinetis_setled(int led, bool ledon)
void kinetis_setleds(uint8_t ledset)
{
kinetis_pinconfig((ledset & BOARD_LED_BIT) != 0);
kinetis_gpiowrite(GPIO_LED, (ledset & BOARD_LED_BIT) != 0);
}
#endif /* !CONFIG_ARCH_LEDS */