mixer_interrupt branch merged to trunk
timers on stock board should be more accurate
This commit is contained in:
+13
-4
@@ -41,6 +41,12 @@
|
||||
#include <string.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#if defined(PCBSTD)
|
||||
#define WDT_RESET_STOCK() wdt_reset()
|
||||
#else
|
||||
#define WDT_RESET_STOCK()
|
||||
#endif
|
||||
|
||||
#if defined(PCBARM)
|
||||
#include "board_ersky9x.h"
|
||||
#endif
|
||||
@@ -478,7 +484,11 @@ extern char idx2char(int8_t idx);
|
||||
void clearKeyEvents();
|
||||
void pauseEvents(uint8_t enuk);
|
||||
void killEvents(uint8_t enuk);
|
||||
#if defined(PCBV4)
|
||||
uint8_t getEvent(bool trim);
|
||||
#else
|
||||
uint8_t getEvent();
|
||||
#endif
|
||||
void putEvent(uint8_t evt);
|
||||
|
||||
uint8_t keyDown();
|
||||
@@ -559,9 +569,9 @@ void resetAll();
|
||||
|
||||
extern uint8_t g_tmr1Latency_max;
|
||||
extern uint8_t g_tmr1Latency_min;
|
||||
extern uint16_t g_timeMain;
|
||||
#ifdef DEBUG
|
||||
extern uint16_t g_time_per10;
|
||||
extern uint16_t g_timeMainMax;
|
||||
#if defined(PCBV4)
|
||||
extern uint8_t g_timeMainLast;
|
||||
#endif
|
||||
|
||||
#define MAXTRACE 120
|
||||
@@ -748,7 +758,6 @@ extern uint8_t ppmInState; //0=unsync 1..8= wait for value i-1
|
||||
extern int16_t g_ppmIns[8];
|
||||
extern int16_t ex_chans[NUM_CHNOUT]; // Outputs (before LIMITS) of the last perMain
|
||||
extern int16_t g_chans512[NUM_CHNOUT];
|
||||
extern volatile uint8_t tick10ms;
|
||||
extern uint16_t BandGap;
|
||||
|
||||
extern uint16_t expou(uint16_t x, uint16_t k);
|
||||
|
||||
Reference in New Issue
Block a user