Skip to content

Commit

Permalink
catched another change that came with SDK 2
Browse files Browse the repository at this point in the history
  • Loading branch information
udo-munk committed Sep 3, 2024
1 parent 95da6ab commit 678a856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picosim/simio.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static BYTE p000_in(void)
register BYTE stat = 0b10000001; /* initially not ready */

#if LIB_PICO_STDIO_UART
uart_inst_t *my_uart = PICO_DEFAULT_UART_INSTANCE;
uart_inst_t *my_uart = uart_default;

if (uart_is_writable(my_uart)) /* check if output to UART is possible */
stat &= 0b01111111; /* if so flip status bit */
Expand All @@ -130,7 +130,7 @@ static BYTE p001_in(void)
int input_avail = 0;

#if LIB_PICO_STDIO_UART
uart_inst_t *my_uart = PICO_DEFAULT_UART_INSTANCE;
uart_inst_t *my_uart = uart_default;

if (uart_is_readable(my_uart))
input_avail = 1;
Expand Down

0 comments on commit 678a856

Please sign in to comment.