1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Also fix compiler warning on sky9x

This commit is contained in:
Arne Schwabe 2017-11-13 10:52:33 +01:00
parent d8210b832f
commit 2d6962d937

View file

@ -80,7 +80,9 @@ static void processMultiSyncPacket(const uint8_t *data)
multiSyncStatus.lastUpdate = get_tmr10ms();
multiSyncStatus.interval = data[4];
multiSyncStatus.target = data[5];
#if !defined(PPM_PIN_SERIAL)
auto oldlag = multiSyncStatus.inputLag;
#endif
multiSyncStatus.calcAdjustedRefreshRate(data[0] << 8 | data[1], data[2] << 8 | data[3]);