This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a41d040ac imxrt: flexio guard move lower to allow other drivers to it
0a41d040ac is described below

commit 0a41d040ac524b9473e753d583fc7b6f4a7add5f
Author: Peter van der Perk <peter.vanderp...@nxp.com>
AuthorDate: Thu Dec 21 16:58:36 2023 +0100

    imxrt: flexio guard move lower to allow other drivers to it
---
 arch/arm/src/imxrt/imxrt_flexio.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/imxrt/imxrt_flexio.h 
b/arch/arm/src/imxrt/imxrt_flexio.h
index 6c33558535..fc994a111f 100644
--- a/arch/arm/src/imxrt/imxrt_flexio.h
+++ b/arch/arm/src/imxrt/imxrt_flexio.h
@@ -34,8 +34,6 @@
 #include "imxrt_config.h"
 #include "hardware/imxrt_flexio.h"
 
-#ifdef CONFIG_IMXRT_FLEXIO
-
 /****************************************************************************
  * Pre-processor Definitions
  ****************************************************************************/
@@ -240,6 +238,8 @@ enum flexio_shifter_buffer_type_e
   FLEXIO_SHIFTER_BUFFER_NIBBLE_SWAPPED      = 0x6u, /* Shifter Buffer N Nibble 
Swapped Register. */
 };
 
+#ifdef CONFIG_IMXRT_FLEXIO
+
 struct flexio_timer_config_s
 {
   uint32_t trigger_select;

Reply via email to