more clean up use inline bit funciton instead of macros

This commit is contained in:
hathach
2019-05-14 12:54:29 +07:00
parent 81fc7b7e2b
commit 3e6d911ce9
15 changed files with 41 additions and 49 deletions
+1 -1
View File
@@ -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