Simu compilation errors

This commit is contained in:
bsongis
2014-06-09 11:05:55 +02:00
parent aa661ced46
commit ce22ea22b4
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -317,7 +317,9 @@ void telemetryWakeup()
static uint8_t frskyTxDelay = 5;
if (frskyAlarmsSendState && (--frskyTxDelay == 0)) {
frskyTxDelay = 5; // 50ms
#if !defined(SIMU)
frskyDSendNextAlarm();
#endif
}
}
#endif
+2
View File
@@ -435,7 +435,9 @@ void frskySendPacket(uint8_t type, uint8_t value, uint8_t p1, uint8_t p2)
*ptr++ = START_STOP; // Start of packet
frskyTxBufferCount = ptr - &frskyTxBuffer[0];
#if !defined(SIMU)
telemetryTransmitBuffer();
#endif
}
inline void frskyDSendNextAlarm(void)