summaryrefslogtreecommitdiff
path: root/hw/bsp/ea4357
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-14 12:54:29 +0700
committerhathach <[email protected]>2019-05-14 12:54:29 +0700
commit3e6d911ce9c01729af3b5d3093ccba250dfdfe2e (patch)
tree6693d4080df0cf8b0027e95c42af829d2a942979 /hw/bsp/ea4357
parent81fc7b7e2b035ae1dd72c2e6167ac6d56393de22 (diff)
more clean up use inline bit funciton instead of macros
Diffstat (limited to 'hw/bsp/ea4357')
-rw-r--r--hw/bsp/ea4357/board_ea4357.c2
1 files changed, 1 insertions, 1 deletions
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