Fix some typos in last commit
This commit is contained in:
parent
45426598d6
commit
26a8fc9233
@ -72,7 +72,7 @@ void kinetis_setled(int led, bool ledon)
|
|||||||
{
|
{
|
||||||
if (led == BOARD_LED)
|
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)
|
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 */
|
#endif /* !CONFIG_ARCH_LEDS */
|
||||||
|
Loading…
Reference in New Issue
Block a user