mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 23:05:12 +03:00
Layout fixes
This commit is contained in:
parent
97907215c7
commit
ef28d7e233
10 changed files with 175 additions and 119 deletions
|
@ -265,7 +265,7 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
|||
|
||||
uint8_t ym8 = (y & 0x07);
|
||||
#if defined(BOLD_FONT)
|
||||
#if !defined(CPUM64) || defined(EXTSTD) || 1
|
||||
#if !defined(CPUM64) || defined(EXTSTD)
|
||||
uint8_t skipcol = 7;
|
||||
if ( c >= 'A') skipcol = 4;
|
||||
if ( c == 'T') skipcol = 5;
|
||||
|
@ -273,7 +273,7 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
|||
uint8_t bb = 0;
|
||||
if (inv) bb = 0xff;
|
||||
#endif
|
||||
#if !defined(CPUM64) || defined(EXTSTD) || 1
|
||||
#if !defined(CPUM64) || defined(EXTSTD)
|
||||
for (int8_t i=0; i<=7; i++) {
|
||||
#else
|
||||
for (int8_t i=0; i<=6; i++) {
|
||||
|
@ -289,7 +289,7 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
|||
else if (i <= 5) b = pgm_read_byte(q++);
|
||||
if (b == 0xff) continue;
|
||||
if (inv) b = ~b;
|
||||
#if !defined(CPUM64) || defined(EXTSTD) || 1
|
||||
#if !defined(CPUM64) || defined(EXTSTD)
|
||||
if (!(flags & BOLD) && (i == 7)) continue;
|
||||
#endif
|
||||
if ((flags & CONDENSED) && i==2) {
|
||||
|
@ -306,7 +306,7 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
|||
a = b | bb;
|
||||
bb = b;
|
||||
b = a;
|
||||
#if !defined(CPUM64) || defined(EXTSTD) || 1
|
||||
#if !defined(CPUM64) || defined(EXTSTD)
|
||||
if (i == skipcol) continue;
|
||||
#endif
|
||||
}
|
||||
|
@ -314,18 +314,24 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
|||
|
||||
if (p<DISPLAY_END) {
|
||||
ASSERT_IN_DISPLAY(p);
|
||||
LCD_BYTE_FILTER(p, ~(0xff << ym8), b << ym8);
|
||||
uint8_t mask = ~(0xff << ym8);
|
||||
LCD_BYTE_FILTER(p, mask, b << ym8);
|
||||
if (ym8) {
|
||||
uint8_t *r = p + LCD_W;
|
||||
if (r<DISPLAY_END)
|
||||
LCD_BYTE_FILTER(r, ~(0xff >> (8-ym8)), b >> (8-ym8));
|
||||
LCD_BYTE_FILTER(r, ~mask, b >> (8-ym8));
|
||||
}
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
if (inv) {
|
||||
if (ym8) lcd_mask(p, 0x01 << (ym8-1), FORCE);
|
||||
else if (y) {
|
||||
ASSERT_IN_DISPLAY(p - LCD_W);
|
||||
lcd_mask(p - LCD_W, 0x80, FORCE);
|
||||
}
|
||||
}
|
||||
#if !defined(CPUM64) || defined(EXTSTD)
|
||||
#if defined(TARANIS)
|
||||
if (y && inv) lcd_mask( p, BITMASK((y-1)%8),FORCE);
|
||||
#else
|
||||
if (y && inv) *p |= BITMASK((y-1)%8);
|
||||
#endif
|
||||
if (inv && (ym8 == 1)) *p |= 0x01;
|
||||
#endif
|
||||
}
|
||||
p++;
|
||||
|
@ -348,11 +354,12 @@ void lcd_putsiAtt(xcoord_t x, uint8_t y,const pm_char * s,uint8_t idx, LcdFlags
|
|||
|
||||
void lcd_putsnAtt(xcoord_t x, uint8_t y, const pm_char * s, uint8_t len, LcdFlags mode)
|
||||
{
|
||||
// xcoord_t orig_x = x;
|
||||
|
||||
#if defined(CPUARM)
|
||||
xcoord_t orig_x = x;
|
||||
#endif
|
||||
bool setx = false;
|
||||
while(len!=0) {
|
||||
unsigned char c;
|
||||
bool setx = false;
|
||||
switch (mode & (BSS+ZCHAR)) {
|
||||
case BSS:
|
||||
c = *s;
|
||||
|
@ -378,20 +385,21 @@ void lcd_putsnAtt(xcoord_t x, uint8_t y, const pm_char * s, uint8_t len, LcdFlag
|
|||
x = c;
|
||||
setx = false;
|
||||
}
|
||||
else if (c == 0x1F) {
|
||||
else if (c == 0x1F) { //X-coord prefix
|
||||
setx = true;
|
||||
}
|
||||
// else if (c == 0x1E) {
|
||||
// x = orig_x;
|
||||
// y += FH;
|
||||
// if (mode & DBLSIZE) y += FH;
|
||||
//#if defined(CPUARM)
|
||||
// else if (mode & MIDSIZE) y += 4;
|
||||
// else if (mode & SMLSIZE) y--;
|
||||
//#endif
|
||||
// }
|
||||
#if defined(CPUARM)
|
||||
else if (c == 0x1E) { //NEWLINE
|
||||
x = orig_x;
|
||||
y += FH;
|
||||
if (mode & DBLSIZE) y += FH;
|
||||
else if (mode & MIDSIZE) y += 4;
|
||||
else if (mode & SMLSIZE) y--;
|
||||
if (y >= LCD_H) break;
|
||||
}
|
||||
#endif
|
||||
else {
|
||||
x += (c*FW/2);
|
||||
x += (c*FW/2); //EXTENDED SPACE
|
||||
}
|
||||
s++;
|
||||
len--;
|
||||
|
|
|
@ -33,6 +33,12 @@
|
|||
* !!!!! DO NOT EDIT cz.h - EDIT cz.h.txt INSTEAD !!!!!!!
|
||||
*
|
||||
*/
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -484,22 +490,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER "NO DATA"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\016us"
|
||||
#define TR_FREESTACKMINB "Free Stack\010b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER" >> Reset"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "CH"
|
||||
|
|
|
@ -32,7 +32,12 @@
|
|||
*
|
||||
* !!!!! DO NOT EDIT de.h - EDIT de.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -484,22 +489,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER"NO DATA"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\016us"
|
||||
#define TR_FREESTACKMINB "Free Stack\010b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER" f\205r Reset"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "CH"
|
||||
|
|
|
@ -33,6 +33,12 @@
|
|||
* GNU General Public License for more details.
|
||||
*
|
||||
*/
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -488,20 +494,20 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER "NO DATA"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\010b"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_MENUTORESET CENTER TR_ENTER " to reset"
|
||||
|
|
|
@ -32,7 +32,12 @@
|
|||
*
|
||||
* !!!!! DO NOT EDIT es.h - EDIT es.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -484,22 +489,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER "SIN DATOS"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Pila LIbre\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\016us"
|
||||
#define TR_FREESTACKMINB "Pila LIbre\010b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER "Resetear"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "CH"
|
||||
|
|
|
@ -32,7 +32,12 @@
|
|||
*
|
||||
* !!!!! DO NOT EDIT fr.h - EDIT fr.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -484,22 +489,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA "NO DATA"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\016us"
|
||||
#define TR_FREESTACKMINB "Free Stack\010b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER" pour reset"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "CH"
|
||||
|
|
|
@ -32,7 +32,12 @@
|
|||
*
|
||||
* !!!!! DO NOT EDIT it.h - EDIT it.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -484,22 +489,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER"DATI ASSENTI"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\007us"
|
||||
#define TR_FREESTACKMINB "Free Stack\004b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER" x Azzerare"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "CH"
|
||||
|
|
|
@ -34,6 +34,12 @@
|
|||
* !!!!! DO NOT EDIT pl.h - EDIT pl.h.txt INSTEAD !!!!!!!
|
||||
*
|
||||
*/
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -485,22 +491,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER "NO DATA"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\016us"
|
||||
#define TR_FREESTACKMINB "Free Stack\010b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER" >> Reset"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "Kan"
|
||||
|
|
|
@ -32,7 +32,12 @@
|
|||
*
|
||||
* !!!!! DO NOT EDIT pt.h - EDIT pt.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -484,22 +489,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER"SEM DADOS"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "MTR\032MT%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Pilha Livre\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\016us"
|
||||
#define TR_FREESTACKMINB "Pilha Livre\010b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER" Reinicia"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "CH"
|
||||
|
|
|
@ -32,7 +32,12 @@
|
|||
*
|
||||
* !!!!! DO NOT EDIT se.h - EDIT se.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
|
||||
/* Fotmatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline (ARM boards only)
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
|
@ -484,22 +489,22 @@
|
|||
#define OFS_RX 4
|
||||
#define TR_ACCEL "Acc:"
|
||||
#define TR_NODATA CENTER "NO DATA"
|
||||
#define TR_TM1TM2 "TM1\032TM2"
|
||||
#define TR_THRTHP "THR\032TH%"
|
||||
#define TR_TM1TM2 "TM1\037\146TM2"
|
||||
#define TR_THRTHP "THR\037\146TH%"
|
||||
#define TR_TOT "TOT"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\006us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+12)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\006us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\006us"
|
||||
#define TR_TMR1LATMAXUS "Tmr1Lat max\037\124us"
|
||||
#define STR_US (STR_TMR1LATMAXUS+13)
|
||||
#define TR_TMR1LATMINUS "Tmr1Lat min\037\124us"
|
||||
#define TR_TMR1JITTERUS "Tmr1 Jitter\037\124us"
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define TR_TMIXMAXMS "Tmix max\012ms"
|
||||
#define TR_TMIXMAXMS "Tmix max"
|
||||
#define TR_FREESTACKMINB "Free Stack"
|
||||
#else
|
||||
#define TR_TMIXMAXMS "Tmix max\014ms"
|
||||
#define TR_TMIXMAXMS "Tmix max\037\124ms"
|
||||
#define TR_FREESTACKMINB "Free Stack\037\124b"
|
||||
#endif
|
||||
|
||||
#define TR_T10MSUS "T10ms\016us"
|
||||
#define TR_FREESTACKMINB "Free Stack\010b"
|
||||
#define TR_MENUTORESET CENTER TR_ENTER " Nollar"
|
||||
#define TR_PPM "PPM"
|
||||
#define TR_CH "KN"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue