rename board_led_control to board_led_write

This commit is contained in:
hathach
2019-04-02 18:16:04 +07:00
parent 6564580c3d
commit 5f3ab2afe1
16 changed files with 19 additions and 19 deletions

View File

@@ -53,7 +53,7 @@
void board_init(void);
// Turn LED on or off
void board_led_control(bool state);
void board_led_write(bool state);
// Get the current state of button
// a '1' means active (pressed), a '0' means inactive.
@@ -87,12 +87,12 @@ int board_uart_write(void const * buf, int len);
//--------------------------------------------------------------------+
static inline void board_led_on(void)
{
board_led_control(true);
board_led_write(true);
}
static inline void board_led_off(void)
{
board_led_control(false);
board_led_write(false);
}
static inline int8_t board_uart_getchar(void)