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 9ae2fa2b54 xtensa/esp32s3: Fix code style of esp32s3_psram_octal.c
9ae2fa2b54 is described below

commit 9ae2fa2b541de9446210eedf358439dcf50fb3b3
Author: Dong Heng <[email protected]>
AuthorDate: Wed May 10 19:02:19 2023 +0800

    xtensa/esp32s3: Fix code style of esp32s3_psram_octal.c
---
 arch/xtensa/src/esp32s3/esp32s3_psram_octal.c | 160 +++++++++++++-------------
 1 file changed, 80 insertions(+), 80 deletions(-)

diff --git a/arch/xtensa/src/esp32s3/esp32s3_psram_octal.c 
b/arch/xtensa/src/esp32s3/esp32s3_psram_octal.c
index cc9d575272..4499a19962 100644
--- a/arch/xtensa/src/esp32s3/esp32s3_psram_octal.c
+++ b/arch/xtensa/src/esp32s3/esp32s3_psram_octal.c
@@ -64,86 +64,86 @@
 
 struct opi_psram_reg
 {
-    union mr0_u
-      {
-        struct
-          {
-            uint8_t drive_str: 2;
-            uint8_t read_latency: 3;
-            uint8_t lt: 1;
-            uint8_t rsvd0_1: 2;
-          };
-
-        uint8_t val;
-      }
-    mr0;
-
-    union mr1_u
-      {
-        struct
-          {
-            uint8_t vendor_id: 5;
-            uint8_t rsvd0_2: 3;
-          };
-
-        uint8_t val;
-      }
-    mr1;
-
-    union mr2_u
-      {
-        struct
-          {
-            uint8_t density: 3;
-            uint8_t dev_id: 2;
-            uint8_t rsvd1_2: 2;
-            uint8_t gb: 1;
-          };
-
-        uint8_t val;
-      }
-    mr2;
-
-    union mr3_u
-      {
-        struct
-          {
-            uint8_t rsvd3_7: 5;
-            uint8_t srf: 1;
-            uint8_t vcc: 1;
-            uint8_t rsvd0: 1;
-          };
-
-        uint8_t val;
-      }
-    mr3;
-
-    union mr4_u
-      {
-        struct
-          {
-            uint8_t pasr: 3;
-            uint8_t rf: 1;
-            uint8_t rsvd3: 1;
-            uint8_t wr_latency: 3;
-          };
-
-        uint8_t val;
-      }
-    mr4;
-
-    union mr8_u
-      {
-        struct
-          {
-            uint8_t bl: 2;
-            uint8_t bt: 1;
-            uint8_t rsvd0_4: 5;
-          };
-
-        uint8_t val;
-      }
-    mr8;
+  union mr0_u
+    {
+      struct
+        {
+          uint8_t drive_str: 2;
+          uint8_t read_latency: 3;
+          uint8_t lt: 1;
+          uint8_t rsvd0_1: 2;
+        };
+
+      uint8_t val;
+    }
+  mr0;
+
+  union mr1_u
+    {
+      struct
+        {
+          uint8_t vendor_id: 5;
+          uint8_t rsvd0_2: 3;
+        };
+
+      uint8_t val;
+    }
+  mr1;
+
+  union mr2_u
+    {
+      struct
+        {
+          uint8_t density: 3;
+          uint8_t dev_id: 2;
+          uint8_t rsvd1_2: 2;
+          uint8_t gb: 1;
+        };
+
+      uint8_t val;
+    }
+  mr2;
+
+  union mr3_u
+    {
+      struct
+        {
+          uint8_t rsvd3_7: 5;
+          uint8_t srf: 1;
+          uint8_t vcc: 1;
+          uint8_t rsvd0: 1;
+        };
+
+      uint8_t val;
+    }
+  mr3;
+
+  union mr4_u
+    {
+      struct
+        {
+          uint8_t pasr: 3;
+          uint8_t rf: 1;
+          uint8_t rsvd3: 1;
+          uint8_t wr_latency: 3;
+        };
+
+      uint8_t val;
+    }
+  mr4;
+
+  union mr8_u
+    {
+      struct
+        {
+          uint8_t bl: 2;
+          uint8_t bt: 1;
+          uint8_t rsvd0_4: 5;
+        };
+
+      uint8_t val;
+    }
+  mr8;
 };
 
 /****************************************************************************

Reply via email to