OSDN Git Service

Bug fixed.
[bluetank/bluetank.git] / firm / bare_metal / common / lcd.c
index 8f2f596..7d7ab83 100644 (file)
@@ -295,7 +295,7 @@ void lcd_font_draw_line(
 
 void lcd_font_setup_single(FontSet *fs, UserFont index)
 {
-    uint8_t addr = 0;
+    uint8_t addr = 8 * (int)index;
     int i = (int)index, j;
     for (j = 0; j < LCD_FONT_HEIGHT; j++) {
         RS_OFF();