mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 05:15:18 +03:00
Bsongis/rssi from 2 different modules (#6711)
RSSI from 2 different modules
This commit is contained in:
parent
a2e71d43c0
commit
13dee00eed
28 changed files with 190 additions and 120 deletions
|
@ -136,7 +136,7 @@ TASK_FUNCTION(mixerTask)
|
|||
uint32_t now = RTOS_GET_MS();
|
||||
bool run = false;
|
||||
|
||||
if ((now - lastRunTime) >= 10) {
|
||||
if (now - lastRunTime >= 10) {
|
||||
// run at least every 10ms
|
||||
run = true;
|
||||
}
|
||||
|
@ -194,7 +194,8 @@ TASK_FUNCTION(mixerTask)
|
|||
}
|
||||
|
||||
t0 = getTmr2MHz() - t0;
|
||||
if (t0 > maxMixerDuration) maxMixerDuration = t0;
|
||||
if (t0 > maxMixerDuration)
|
||||
maxMixerDuration = t0;
|
||||
|
||||
sendSynchronousPulses();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue