rp2040 move uart id to board specific

This commit is contained in:
hathach
2021-01-27 16:37:31 +07:00
parent 1abf9eeb80
commit 4fef2ddb4c
6 changed files with 34 additions and 11 deletions

View File

@@ -55,10 +55,6 @@ int main(void)
{
uint32_t interval_ms = board_button_read() ? BLINK_PRESSED : BLINK_UNPRESSED;
// uart echo
// uint8_t ch;
// if ( board_uart_read(&ch, 1) ) board_uart_write(&ch, 1);
// Blink every interval ms
if ( !(board_millis() - start_ms < interval_ms) )
{