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)
|
static void loggingTimerCb(TimerHandle_t xTimer)
|
||||||
{
|
{
|
||||||
(void)xTimer;
|
(void)xTimer;
|
||||||
if (!mixerTaskRunning()) {
|
|
||||||
DEBUG_TIMER_START(debugTimerLoggingWakeup);
|
DEBUG_TIMER_START(debugTimerLoggingWakeup);
|
||||||
logsWrite();
|
logsWrite();
|
||||||
DEBUG_TIMER_STOP(debugTimerLoggingWakeup);
|
DEBUG_TIMER_STOP(debugTimerLoggingWakeup);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void loggingTimerStart()
|
void loggingTimerStart()
|
||||||
|
|||||||
@@ -63,12 +63,10 @@ static StaticTimer_t spacemouseTimerBuffer;
|
|||||||
|
|
||||||
static void spacemouseTimerCb(TimerHandle_t xTimer)
|
static void spacemouseTimerCb(TimerHandle_t xTimer)
|
||||||
{
|
{
|
||||||
if (!mixerTaskRunning()) {
|
|
||||||
DEBUG_TIMER_START(debugTimerSpacemouseWakeup);
|
DEBUG_TIMER_START(debugTimerSpacemouseWakeup);
|
||||||
spacemousePoll();
|
spacemousePoll();
|
||||||
spacemouseWakeup();
|
spacemouseWakeup();
|
||||||
DEBUG_TIMER_STOP(debugTimerSpacemouseWakeup);
|
DEBUG_TIMER_STOP(debugTimerSpacemouseWakeup);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void spacemouseStart()
|
void spacemouseStart()
|
||||||
|
|||||||
Reference in New Issue
Block a user