diff options
Diffstat (limited to 'stm/lcd.c')
| -rw-r--r-- | stm/lcd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,4 @@ +#include <string.h> #include <stm32f4xx_gpio.h> #include "misc.h" @@ -138,6 +139,10 @@ void lcd_init() { lcd_next_line = 0; } +void lcd_print_str(const char *str) { + lcd_print_strn(str, strlen(str)); +} + void lcd_print_strn(const char *str, unsigned int len) { int redraw_min = lcd_line * LCD_BUF_W + lcd_column; int redraw_max = redraw_min; |
