Просмотр исходного кода

Clean out a warning

in ultralcd_implementation_hitachi_HD44780.h lcd_print( about array index.
AnHardt 9 лет назад
Родитель
Сommit
eff6a2bd2e
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 1
- 1
Marlin/ultralcd_implementation_hitachi_HD44780.h Просмотреть файл

@@ -414,7 +414,7 @@ char lcd_printPGM(const char* str) {
414 414
 
415 415
 char lcd_print(char* str) {
416 416
   char c;
417
-  char i = 0;
417
+  unsigned char i = 0;
418 418
   char n = 0;
419 419
   while((c = str[i++])) {
420 420
       n += charset_mapper(c);

Загрузка…
Отмена
Сохранить