From a311d3ab94c7c8b08cb4c67e3afe409c13ac4178 Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Thu, 28 Oct 2021 15:14:12 -0500 Subject: [PATCH] fix lcd_uart for PICO_BOARD=none --- uart/lcd_uart/lcd_uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uart/lcd_uart/lcd_uart.c b/uart/lcd_uart/lcd_uart.c index 34b912e00..e68b9e09f 100644 --- a/uart/lcd_uart/lcd_uart.c +++ b/uart/lcd_uart/lcd_uart.c @@ -150,13 +150,13 @@ int main() { #if LCD_IS_RGB uint8_t i = 0; // it's ok if this overflows and wraps, we're using sin - const float frequency = 0.1; + const float frequency = 0.1f; float red, green, blue; #endif while (1) { // send any chars from stdio straight to the backpack - char c = uart_getc(uart_default); + char c = getchar(); // any bytes not followed by 0xFE (the special command) are interpreted // as text to be displayed on the backpack, so we just send the char // down the UART byte pipe!