From 22dbb0cdd9a46c421a1c47bd33e1d564ce5ad44b Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 12 Oct 2007 18:57:25 +0000 Subject: [PATCH] Rename gfx lcd driver. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@874 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/{lcd_gfx.c => lcd_32122a_avr.c} | 2 +- drv/{lcd_gfx.h => lcd_32122a_avr.h} | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename drv/{lcd_gfx.c => lcd_32122a_avr.c} (99%) rename drv/{lcd_gfx.h => lcd_32122a_avr.h} (95%) diff --git a/drv/lcd_gfx.c b/drv/lcd_32122a_avr.c similarity index 99% rename from drv/lcd_gfx.c rename to drv/lcd_32122a_avr.c index 6031ca51..3ae23055 100644 --- a/drv/lcd_gfx.c +++ b/drv/lcd_32122a_avr.c @@ -58,7 +58,7 @@ *#* *#*/ -#include "lcd.h" +#include "lcd_32122a_avr.h" #include #include diff --git a/drv/lcd_gfx.h b/drv/lcd_32122a_avr.h similarity index 95% rename from drv/lcd_gfx.h rename to drv/lcd_32122a_avr.h index 2d872c7b..1d23b190 100644 --- a/drv/lcd_gfx.h +++ b/drv/lcd_32122a_avr.h @@ -60,8 +60,8 @@ *#* Import into DevLib. *#*/ -#ifndef LCD_GFX_H -#define LCD_GFX_H +#ifndef LCD_32122A_AVR_H +#define LCD_32122A_AVR_H /* Predefined LCD PWM contrast values */ #define LCD_DEF_PWM 145 @@ -69,8 +69,8 @@ #define LCD_MIN_PWM 130 /* Display bitmap dims */ -#define LCD_WIDTH 128 -#define LCD_HEIGHT 64 +#define LCD_WIDTH 122 +#define LCD_HEIGHT 32 /* fwd decl */ struct Bitmap; @@ -81,4 +81,4 @@ void lcd_init(void); void lcd_setPwm(int duty); void lcd_blitBitmap(struct Bitmap *bm); -#endif /* LCD_GFX_H */ +#endif /* LCD_32122A_AVR_H */ -- 2.25.1