Finalized calibration. Fixed a bug in screen module.
This commit is contained in:
@@ -22,3 +22,12 @@ SCREEN_STRUCT* get_screen_calibrate();
|
||||
|
||||
/*@}*/
|
||||
/*@}*/
|
||||
|
||||
|
||||
//TODO: Move this define to a common accessible, but private header file (they are used by screen_calibrate.c and touch.c)
|
||||
#define CCENTER 20 //Pixel Distance from Sides for Calibration Cross
|
||||
#define CLENGTH 10 //Length of the Calibration Cross Lines
|
||||
#define CBEGIN (CCENTER-CLENGTH/2)
|
||||
#define CEND (CCENTER + CLENGTH/2)
|
||||
#define DWIDTH 320 //TODO: move define to tft module or make a function out of it
|
||||
#define DHEIGHT 240 //TODO: move define to tft module or make a function out of it
|
||||
|
||||
Reference in New Issue
Block a user