Warning solved (thanks gbirkus)
Issue 18 (thanks Paul) fixed
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user