lpc1347 mouse & keyboard & cdc works well

This commit is contained in:
hathach
2014-03-07 14:54:19 +07:00
parent 05474e4bd2
commit 01760794fe
7 changed files with 107 additions and 108 deletions
@@ -129,7 +129,7 @@ void board_leds(uint32_t on_mask, uint32_t off_mask)
//--------------------------------------------------------------------+
// BUTTONS
//--------------------------------------------------------------------+
static uint32_t button_read(uint8_t id)
static bool button_read(uint8_t id)
{
return !BIT_TEST_( GPIO_ReadValue(buttons[id].port), buttons[id].pin ); // button is active low
}