Simu compilation errors
This commit is contained in:
@@ -317,7 +317,9 @@ void telemetryWakeup()
|
|||||||
static uint8_t frskyTxDelay = 5;
|
static uint8_t frskyTxDelay = 5;
|
||||||
if (frskyAlarmsSendState && (--frskyTxDelay == 0)) {
|
if (frskyAlarmsSendState && (--frskyTxDelay == 0)) {
|
||||||
frskyTxDelay = 5; // 50ms
|
frskyTxDelay = 5; // 50ms
|
||||||
|
#if !defined(SIMU)
|
||||||
frskyDSendNextAlarm();
|
frskyDSendNextAlarm();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -435,7 +435,9 @@ void frskySendPacket(uint8_t type, uint8_t value, uint8_t p1, uint8_t p2)
|
|||||||
*ptr++ = START_STOP; // Start of packet
|
*ptr++ = START_STOP; // Start of packet
|
||||||
|
|
||||||
frskyTxBufferCount = ptr - &frskyTxBuffer[0];
|
frskyTxBufferCount = ptr - &frskyTxBuffer[0];
|
||||||
|
#if !defined(SIMU)
|
||||||
telemetryTransmitBuffer();
|
telemetryTransmitBuffer();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void frskyDSendNextAlarm(void)
|
inline void frskyDSendNextAlarm(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user