Skip to content

Commit 863f544

Browse files
authored
Address the review comment to fix conditional compilation syntax: raspberrypi/pico-sdk#1795 (review)
1 parent 5022582 commit 863f544

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rp2_common/pico_clib_interface/picolibc_interface.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ static int picolibc_putc(char c, __unused FILE *file) {
3939
static int picolibc_getc(__unused FILE *file) {
4040
#if LIB_PICO_STDIO
4141
return stdio_getchar();
42-
#endif
42+
#else
4343
return -1;
44+
#endif
4445
}
4546

4647
static int picolibc_flush(__unused FILE *file) {

0 commit comments

Comments
 (0)