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:
parent
d8210b832f
commit
2d6962d937
1 changed files with 2 additions and 0 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue