mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 17:55:19 +03:00
[9XR-PRO] Cosmetics in Statistics view
This commit is contained in:
parent
99ff846209
commit
5c4b12dfc2
2 changed files with 6 additions and 10 deletions
|
@ -181,7 +181,7 @@ void lcd_putcAtt(coord_t x, coord_t y, const unsigned char c, LcdFlags flags)
|
||||||
lcdPutPattern(x, y, q, 5, 6, flags);
|
lcdPutPattern(x, y, q, 5, 6, flags);
|
||||||
}
|
}
|
||||||
else if (fontsize == TINSIZE) {
|
else if (fontsize == TINSIZE) {
|
||||||
q = &font_3x5[((uint16_t)c-0x2d)*3];
|
q = &font_3x5[((uint16_t)c-0x20)*3];
|
||||||
lcdPutPattern(x, y, q, 3, 5, flags);
|
lcdPutPattern(x, y, q, 3, 5, flags);
|
||||||
}
|
}
|
||||||
#if defined(BOLD_FONT)
|
#if defined(BOLD_FONT)
|
||||||
|
|
|
@ -68,10 +68,6 @@ void menuStatisticsView(uint8_t event)
|
||||||
|
|
||||||
putsTimer( 12*FW+5*FWNUM+1, FH*0, sessionTimer, 0, 0);
|
putsTimer( 12*FW+5*FWNUM+1, FH*0, sessionTimer, 0, 0);
|
||||||
|
|
||||||
#if defined(CPUARM)
|
|
||||||
putsTimer(21*FW+5*FWNUM+1, 0*FH, g_eeGeneral.globalTimer + sessionTimer, TIMEHOUR, 0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(THRTRACE)
|
#if defined(THRTRACE)
|
||||||
coord_t traceRd = (s_traceCnt < 0 ? s_traceWr : 0);
|
coord_t traceRd = (s_traceCnt < 0 ? s_traceWr : 0);
|
||||||
const coord_t x = 5;
|
const coord_t x = 5;
|
||||||
|
@ -198,13 +194,13 @@ void menuStatisticsDebug(uint8_t event)
|
||||||
lcd_puts(lcdLastPos, MENU_DEBUG_Y_MIXMAX, "ms");
|
lcd_puts(lcdLastPos, MENU_DEBUG_Y_MIXMAX, "ms");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PCBSKY9X)
|
#if defined(CPUARM)
|
||||||
lcd_putsLeft(MENU_DEBUG_Y_RTOS, STR_FREESTACKMINB);
|
lcd_putsLeft(MENU_DEBUG_Y_RTOS, STR_FREESTACKMINB);
|
||||||
lcd_outdezAtt(MENU_DEBUG_COL1_OFS, MENU_DEBUG_Y_RTOS, stack_free(0), UNSIGN|LEFT);
|
lcd_outdezAtt(MENU_DEBUG_COL1_OFS, MENU_DEBUG_Y_RTOS+2, stack_free(0), UNSIGN|LEFT|TINSIZE);
|
||||||
lcd_puts(lcdLastPos, MENU_DEBUG_Y_RTOS, "/");
|
lcd_puts(lcdLastPos, MENU_DEBUG_Y_RTOS, "/");
|
||||||
lcd_outdezAtt(lcdLastPos, MENU_DEBUG_Y_RTOS, stack_free(1), UNSIGN|LEFT);
|
lcd_outdezAtt(lcdLastPos, MENU_DEBUG_Y_RTOS+2, stack_free(1), UNSIGN|LEFT|TINSIZE);
|
||||||
lcd_puts(lcdLastPos, MENU_DEBUG_Y_RTOS, "/");
|
lcd_puts(lcdLastPos, MENU_DEBUG_Y_RTOS, "/");
|
||||||
lcd_outdezAtt(lcdLastPos, MENU_DEBUG_Y_RTOS, stack_free(2), UNSIGN|LEFT);
|
lcd_outdezAtt(lcdLastPos, MENU_DEBUG_Y_RTOS+2, stack_free(2), UNSIGN|LEFT|TINSIZE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(CPUARM)
|
#if !defined(CPUARM)
|
||||||
|
@ -220,6 +216,6 @@ void menuStatisticsDebug(uint8_t event)
|
||||||
lcd_outdezAtt(14*FW, 5*FH, stack_free(), UNSIGN) ;
|
lcd_outdezAtt(14*FW, 5*FH, stack_free(), UNSIGN) ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
lcd_puts(3*FW, 7*FH+1, STR_MENUTORESET);
|
lcd_puts(4*FW, 7*FH+1, STR_MENUTORESET);
|
||||||
lcd_status_line();
|
lcd_status_line();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue