enable all warnings

This commit is contained in:
hathach
2018-12-07 14:49:55 +07:00
parent f769ecddaf
commit d524da0c94
18 changed files with 56 additions and 13 deletions
@@ -186,11 +186,13 @@ void board_led_control(bool state)
//--------------------------------------------------------------------+
// BUTTONS
//--------------------------------------------------------------------+
#if 0
static bool button_read(uint8_t id)
{
// return !BIT_TEST_( GPIO_ReadValue(buttons[id].port), buttons[id].pin ); // button is active low
return false;
}
#endif
uint32_t board_buttons(void)
{
@@ -206,12 +208,14 @@ uint32_t board_buttons(void)
//--------------------------------------------------------------------+
void board_uart_putchar(uint8_t c)
{
(void) c;
// UART_Send(BOARD_UART_PORT, &c, 1, BLOCKING);
}
uint8_t board_uart_getchar(void)
{
// return UART_ReceiveByte(BOARD_UART_PORT);
return 0;
}
#endif