CFontzPacket: Report cell size according to display type (used to calculate
hBar width). Use block charcter (31d) on displays which have it instead of the custom icon. On seamless displays do not fill the last line to avoid the character banging together.
This commit is contained in:
1 parent
01f3576a9d
commit
6efd439901
3 files changed
+26
-12
No files matched your search
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "lcd.h"
|
||||
|
||||
#define DEFAULT_CELL_WIDTH 6
|
||||
#define DEFAULT_CELL_HEIGHT 8
|
||||
#define DEFAULT_CONTRAST 560
|
||||
#define DEFAULT_DEVICE "/dev/lcd"
|
||||
@@ -20,6 +19,7 @@
|
||||
typedef struct CFA_Model {
|
||||
int model;
|
||||
char *size;
|
||||
int cell_width;
|
||||
int speed;
|
||||
const unsigned char *charmap;
|
||||
int flags;
|
||||
|
||||
Reference in new issue
Block a user