Bsongis/rssi from 2 different modules (#6711)
RSSI from 2 different modules
This commit is contained in:
+3
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user