fix: logs not written to SD card and SpaceMouse not working (#3208)
* fixes https://github.com/EdgeTX/edgetx/issues/3207 * fixes SpaceMouse readout
This commit is contained in:
+4
-5
@@ -42,11 +42,10 @@ static StaticTimer_t loggingTimerBuffer;
|
||||
static void loggingTimerCb(TimerHandle_t xTimer)
|
||||
{
|
||||
(void)xTimer;
|
||||
if (!mixerTaskRunning()) {
|
||||
DEBUG_TIMER_START(debugTimerLoggingWakeup);
|
||||
logsWrite();
|
||||
DEBUG_TIMER_STOP(debugTimerLoggingWakeup);
|
||||
}
|
||||
|
||||
DEBUG_TIMER_START(debugTimerLoggingWakeup);
|
||||
logsWrite();
|
||||
DEBUG_TIMER_STOP(debugTimerLoggingWakeup);
|
||||
}
|
||||
|
||||
void loggingTimerStart()
|
||||
|
||||
@@ -63,12 +63,10 @@ static StaticTimer_t spacemouseTimerBuffer;
|
||||
|
||||
static void spacemouseTimerCb(TimerHandle_t xTimer)
|
||||
{
|
||||
if (!mixerTaskRunning()) {
|
||||
DEBUG_TIMER_START(debugTimerSpacemouseWakeup);
|
||||
spacemousePoll();
|
||||
spacemouseWakeup();
|
||||
DEBUG_TIMER_STOP(debugTimerSpacemouseWakeup);
|
||||
}
|
||||
}
|
||||
|
||||
void spacemouseStart()
|
||||
|
||||
Reference in New Issue
Block a user