display default values on errors in init();
include speed into the display's PrivateData structure; CFontzPacket.c: update optimization stragegy in flush() for CF631 & CF635
This commit is contained in:
@@ -7,13 +7,16 @@
|
||||
#define DEFAULT_CELL_HEIGHT 8
|
||||
#define DEFAULT_CONTRAST 560
|
||||
#define DEFAULT_DEVICE "/dev/lcd"
|
||||
#define DEFAULT_SPEED B19200
|
||||
#define DEFAULT_SPEED 19200
|
||||
#define DEFAULT_SPEED_CF631 115200
|
||||
#define DEFAULT_SPEED_CF633 19200
|
||||
#define DEFAULT_SPEED_CF635 115200
|
||||
#define DEFAULT_BRIGHTNESS 1000
|
||||
#define DEFAULT_OFFBRIGHTNESS 0
|
||||
#define DEFAULT_SIZE "16x2"
|
||||
#define DEFAULT_SIZE_CF635 "20x4"
|
||||
#define DEFAULT_SIZE_CF633 "16x2"
|
||||
#define DEFAULT_SIZE_CF631 "20x2"
|
||||
#define DEFAULT_SIZE_CF633 "16x2"
|
||||
#define DEFAULT_SIZE_CF635 "20x4"
|
||||
|
||||
|
||||
MODULE_EXPORT int CFontz633_init (Driver *drvthis);
|
||||
|
||||
Reference in New Issue
Block a user