From c8b31f0dd0e785df3ef2be3af4e48df5e8e7b730 Mon Sep 17 00:00:00 2001 From: justinflipflops Date: Sat, 19 Feb 2022 17:05:38 -0500 Subject: [PATCH] Fix compilation when not using USE_DSHOT_BITBANG --- src/main/drivers/timer_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/drivers/timer_common.c b/src/main/drivers/timer_common.c index 7f8084ecde..594dea0c17 100644 --- a/src/main/drivers/timer_common.c +++ b/src/main/drivers/timer_common.c @@ -106,7 +106,7 @@ const resourceOwner_t *timerGetOwner(const timerHardware_t *timer) #if defined(USE_DSHOT_BITBANG) return dshotBitbangTimerGetOwner(timer); #else - return timerOwner; + return &freeOwner; #endif }