Renamed "hiccups" to "TSI2CEvents"
And use uint32_t for counting them.
This commit is contained in:
@@ -61,11 +61,11 @@ class RadioAnalogsDiagsWindow: public Window {
|
||||
}
|
||||
#if !defined(SIMU)
|
||||
constexpr coord_t y1 = MENU_CONTENT_TOP + 6 * FH;
|
||||
constexpr coord_t x1 = MENUS_MARGIN_LEFT;
|
||||
dc->drawText(x1, y1, "Touch GT911 FW ver:");
|
||||
dc->drawNumber(x1 + 150, y1, touchGT911fwver, LEFT, 4);
|
||||
dc->drawText(x1 + 200, y1, "Hiccups:");
|
||||
dc->drawNumber(x1 + 260, y1, touchGT911hiccups, LEFT, 5);
|
||||
coord_t x1 = MENUS_MARGIN_LEFT;
|
||||
x1 = dc->drawText(x1, y1, "Touch GT911 FW ver:") + 8;
|
||||
x1 = dc->drawNumber(x1, y1, touchGT911fwver, LEFT, 4) + 16;
|
||||
x1 = dc->drawText(x1, y1, "TSI2CEvents:") + 4;
|
||||
dc->drawNumber(x1, y1, touchGT911hiccups, LEFT, 5);
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -407,7 +407,7 @@ bool touchGT911Flag = false;
|
||||
volatile static bool touchEventOccured = false;
|
||||
struct TouchData touchData;
|
||||
uint16_t touchGT911fwver = 0;
|
||||
uint16_t touchGT911hiccups = 0;
|
||||
uint32_t touchGT911hiccups = 0;
|
||||
|
||||
static void TOUCH_AF_ExtiStop(void)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
extern bool touchGT911Flag;
|
||||
extern uint16_t touchGT911fwver;
|
||||
extern uint16_t touchGT911hiccups;
|
||||
extern uint32_t touchGT911hiccups;
|
||||
extern bool touchPanelInit();
|
||||
|
||||
void touchPanelRead();
|
||||
|
||||
Reference in New Issue
Block a user