PXX updates + optimizations pulled from er9x

FrSky TELEMETRY menu is now moved to [DOWN long]
Function added to reach the TELEMETRY screen when a switch is enabled
Main view optimizations
This commit is contained in:
bsongis
2012-02-23 18:09:27 +00:00
parent 0a1b7a39bf
commit 4200c203b6
16 changed files with 387 additions and 370 deletions
+18 -1
View File
@@ -464,6 +464,7 @@ extern uint8_t trimsCheckTimer;
#define TMR_BEEPING 2
#define TMR_STOPPED 3
void resetTimer(uint8_t idx);
void resetAll();
extern uint8_t g_tmr1Latency_max;
extern uint8_t g_tmr1Latency_min;
@@ -608,7 +609,6 @@ void startPulses();
void setupPulses();
void DSM2_Init();
void DSM2_Done();
void resetProto();
extern uint8_t *pulses2MHzRPtr;
extern uint8_t *pulses2MHzWPtr;
@@ -703,5 +703,22 @@ extern volatile uint8_t g_rotenc[2];
#include "somo14d.h"
#endif
// Re-useable byte array to save having multiple buffers
union ReusableBuffer
{
uint8_t eefs_buffer[BLOCKS]; // used by EeFsck
char model_name[sizeof(g_model.name)]; // used by menuProcModelSelect
struct
{
int16_t midVals[7];
int16_t loVals[7];
int16_t hiVals[7];
} calib; // used by menuProcDiagCalib
};
extern union ReusableBuffer reusableBuffer;
#endif // gruvin9x_h
/*eof*/