diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-11-14 08:49:02 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-11-14 08:49:02 -0500 |
commit | 45453184e212d35229e33045fd5e641c85beec68 (patch) | |
tree | 13182dd17530e9d92c517932684fc30892f4652c /lcd.c | |
parent | 6c0c3baa0a8ba0ddb4dab767c75e10613768995f (diff) |
remove fixed-length strings in mode_names
Diffstat (limited to 'lcd.c')
-rw-r--r-- | lcd.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -210,6 +210,12 @@ void LCD_write_padded_spaces(int row, int col, char *LCD_string, int width) } +void LCD_write_padded_to_end_of_line(int row, int col, char *LCD_string) +{ + LCD_write_padded_spaces (row, col, LCD_string, LCD_cols - col - strlen (LCD_string)); +} + + static void LCD_make_custom_chars() { /* define custom LCD characters 2 and 3 (up arrow and down arrow).*/ |