1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Cosmetics

This commit is contained in:
3djc 2021-04-05 11:16:17 +02:00
parent 78dd516069
commit 84387e7e0f
8 changed files with 27 additions and 48 deletions

View file

@ -67,7 +67,6 @@ bool isForcePowerOffRequested()
bool isModuleSynchronous(uint8_t moduleIdx)
{
switch(moduleState[moduleIdx].protocol) {
case PROTOCOL_CHANNELS_PXX2_HIGHSPEED:
case PROTOCOL_CHANNELS_PXX2_LOWSPEED:
case PROTOCOL_CHANNELS_CROSSFIRE:
@ -109,8 +108,6 @@ void sendSynchronousPulses(uint8_t runMask)
}
}
//#define DEBUG_MIXER_SCHEDULER
uint32_t nextMixerTime[NUM_MODULES];
TASK_FUNCTION(mixerTask)
@ -181,7 +178,6 @@ TASK_FUNCTION(mixerTask)
RTOS_UNLOCK_MUTEX(mixerMutex);
DEBUG_TIMER_STOP(debugTimerMixer);
#if defined(STM32) && !defined(SIMU)
if (getSelectedUsbMode() == USB_JOYSTICK_MODE) {
usbJoystickUpdate();