Warning solved (thanks gbirkus)

Issue 18 (thanks Paul) fixed
This commit is contained in:
bsongis
2012-04-05 16:53:48 +00:00
parent 2623aa00ed
commit ea4bba0dea
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ void parseTelemHubByte(uint8_t byte)
switch ((uint8_t)structPos) {
case offsetof(FrskyHubData, rpm):
frskyHubData.rpm /= (g_model.frsky.blades+2);
frskyHubData.rpm *= (uint8_t)60/(g_model.frsky.blades+2);
if (frskyHubData.rpm > frskyHubData.maxRpm)
frskyHubData.maxRpm = frskyHubData.rpm;
break;
+1 -1
View File
@@ -1643,7 +1643,7 @@ void perOut(uint8_t phase)
char userDataDisplayBuf[TELEM_SCREEN_BUFFER_SIZE];
#endif
#if defined(PCBARM) || (defined(PCBV4) && !defined(REV0))
#if (defined(PCBARM) && !defined(REVA) && !defined(SIMU)) || (defined(PCBV4) && !defined(REV0) && !defined(SIMU))
#define TIME_TO_WRITE (s_eeDirtyMsk && (get_tmr10ms() - s_eeDirtyTime10ms) >= WRITE_DELAY_10MS)
#else
#define TIME_TO_WRITE s_eeDirtyMsk
+3
View File
@@ -77,9 +77,12 @@ void menuProcStatistic(uint8_t event)
}
}
#if defined(PCBARM) && defined(REVB)
uint16_t Current ;
uint32_t Current_sum ;
uint8_t Current_count ;
#endif
void menuProcDebug(uint8_t event)
{
TITLE(STR_MENUDEBUG);