[Horus] Stats menu refactoring
This commit is contained in:
+6
-8
@@ -929,19 +929,17 @@ extern uint16_t lastMixerDuration;
|
||||
#endif
|
||||
|
||||
#if defined(THRTRACE)
|
||||
#define MAXTRACE (LCD_W - 8)
|
||||
extern uint8_t s_traceBuf[MAXTRACE];
|
||||
#if LCD_W >= 255
|
||||
extern int16_t s_traceWr;
|
||||
extern int16_t s_traceCnt;
|
||||
#if defined(COLORLCD)
|
||||
#define MAXTRACE (LCD_W-2*10)
|
||||
#else
|
||||
extern uint8_t s_traceWr;
|
||||
extern int16_t s_traceCnt;
|
||||
#define MAXTRACE (LCD_W - 8)
|
||||
#endif
|
||||
extern uint8_t s_traceBuf[MAXTRACE];
|
||||
extern uint16_t s_traceWr;
|
||||
extern uint8_t s_cnt_10s;
|
||||
extern uint16_t s_cnt_samples_thr_10s;
|
||||
extern uint16_t s_sum_samples_thr_10s;
|
||||
#define RESET_THR_TRACE() s_traceCnt = s_traceWr = s_cnt_10s = s_cnt_samples_thr_10s = s_sum_samples_thr_10s = s_timeCum16ThrP = s_timeCumThr = 0
|
||||
#define RESET_THR_TRACE() s_traceWr = s_cnt_10s = s_cnt_samples_thr_10s = s_sum_samples_thr_10s = s_timeCum16ThrP = s_timeCumThr = 0
|
||||
#else
|
||||
#define RESET_THR_TRACE() s_timeCum16ThrP = s_timeCumThr = 0
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user