diff options
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/ea4088qs/board_ea4088qs.c | 2 | ||||
| -rw-r--r-- | hw/bsp/ea4357/board_ea4357.c | 2 | ||||
| -rw-r--r-- | hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c | 2 | ||||
| -rw-r--r-- | hw/bsp/mcb1800/board_mcb1800.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/hw/bsp/ea4088qs/board_ea4088qs.c b/hw/bsp/ea4088qs/board_ea4088qs.c index 5c89937ec..35baa1a03 100644 --- a/hw/bsp/ea4088qs/board_ea4088qs.c +++ b/hw/bsp/ea4088qs/board_ea4088qs.c @@ -123,7 +123,7 @@ void board_led_write(bool state) #if 0 static bool button_read(uint8_t id) { -// return !TU_BIT_TEST( GPIO_ReadValue(buttons[id].gpio_port), buttons[id].gpio_pin ); // button is active low +// return !tu_bit_test( GPIO_ReadValue(buttons[id].gpio_port), buttons[id].gpio_pin ); // button is active low } #endif diff --git a/hw/bsp/ea4357/board_ea4357.c b/hw/bsp/ea4357/board_ea4357.c index f9ff4d1ca..d02a58b47 100644 --- a/hw/bsp/ea4357/board_ea4357.c +++ b/hw/bsp/ea4357/board_ea4357.c @@ -265,7 +265,7 @@ void board_led_write(bool state) #if 0 static bool button_read(uint8_t id) { -// return !TU_BIT_TEST( GPIO_ReadValue(buttons[id].gpio_port), buttons[id].gpio_pin ); // button is active low +// return !tu_bit_test( GPIO_ReadValue(buttons[id].gpio_port), buttons[id].gpio_pin ); // button is active low } #endif diff --git a/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c b/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c index c91461e80..d0c59e089 100644 --- a/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c +++ b/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c @@ -175,7 +175,7 @@ void board_led_write(bool state) #if 0 static bool button_read(uint8_t id) { -// return !TU_BIT_TEST( GPIO_ReadValue(buttons[id].port), buttons[id].pin ); // button is active low +// return !tu_bit_test( GPIO_ReadValue(buttons[id].port), buttons[id].pin ); // button is active low return false; } #endif diff --git a/hw/bsp/mcb1800/board_mcb1800.c b/hw/bsp/mcb1800/board_mcb1800.c index 6b7655cbc..85fcc2bfb 100644 --- a/hw/bsp/mcb1800/board_mcb1800.c +++ b/hw/bsp/mcb1800/board_mcb1800.c @@ -188,7 +188,7 @@ void board_led_write(bool state) static bool button_read(uint8_t id) { (void) id; -// return !TU_BIT_TEST( GPIO_ReadValue(buttons[id].gpio_port), buttons[id].gpio_pin ); // button is active low +// return !tu_bit_test( GPIO_ReadValue(buttons[id].gpio_port), buttons[id].gpio_pin ); // button is active low return false; } */ |
