x7/x9 GPS datetime fix (#5051)
* Fix x7 display in telemetry widget (only time is displayed) * rename drawDate to a more specific name, since it is not generic fix for x9 * Travis build fix * Introduce time FONTSIZE_MASK macro * Cosmetics based on Bertrand's last feedbacks
This commit is contained in:
@@ -94,7 +94,8 @@
|
||||
#define NO_UNIT 0x40
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define FONTSIZE(x) ((x) & 0x0700)
|
||||
#define FONTSIZE_MASK 0x0700
|
||||
#define FONTSIZE(x) ((x) & FONTSIZE_MASK)
|
||||
#define TINSIZE 0x0100
|
||||
#define SMLSIZE 0x0200
|
||||
#define MIDSIZE 0x0300
|
||||
|
||||
Reference in New Issue
Block a user