From 9377b02c588c77d06a387af7ae9a4f1dbe0fad0d Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 2 Jun 2021 08:48:20 -0700 Subject: [PATCH] Track NuttX Timer changes --- .../src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp b/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp index 3d89d829a5..24676ff60b 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp +++ b/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp @@ -233,9 +233,9 @@ // Was the N complementary timer output was used #if defined(S_RGB_LED_CHANNELN) -# define CCER_CCnxE GTIM_CCER_CC1NE +# define CCER_CCnxE ATIM_CCER_CC1NE #else -# define CCER_CCnxE GTIM_CCER_CC1E +# define CCER_CCnxE ATIM_CCER_CC1E #endif #if S_RGB_LED_CHANNEL == 1