Now it compiles without a warning under Visual C++ ... Why? Only because I wanted to have exceptions catched under Windows as we have on Linux. Most users are Windows. They will be all testers :)

This commit is contained in:
bsongis
2011-12-16 19:06:28 +00:00
parent 88fca5135d
commit 43ccaa60e6
10 changed files with 93 additions and 77 deletions
+4 -1
View File
@@ -290,7 +290,7 @@ void applyExpos(int16_t *anas, uint8_t phase)
}
bool s_noStickInputs = false;
inline int16_t __attribute__ ((always_inline)) getValue(uint8_t i)
FORCEINLINE int16_t getValue(uint8_t i)
{
if(i<NUM_STICKS+NUM_POTS) return (s_noStickInputs ? 0 : calibratedStick[i]);
else if(i<MIX_FULL/*srcRaw is shifted +1!*/) return 1024; //FULL/MAX
@@ -537,6 +537,9 @@ void doSplash()
void checkLowEEPROM()
{
int i = 1;
int a = (i+1) / (i-1);
if(g_eeGeneral.disableMemoryWarning) return;
if(EeFsGetFree() < 200)
{