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

vipulrahane pushed a commit to branch vipul/logging_num_entries
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit a66e6efbe7844fffb55bc8936ccd6cedd888722d
Author: Vipul Rahane <vipul.rah...@juul.com>
AuthorDate: Wed Mar 20 12:09:53 2024 -0700

    sys/log: fix coding style in header
---
 sys/log/full/include/log/log.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/log/full/include/log/log.h b/sys/log/full/include/log/log.h
index 2bdf4fc67..1b0309e79 100644
--- a/sys/log/full/include/log/log.h
+++ b/sys/log/full/include/log/log.h
@@ -139,8 +139,8 @@ struct log_entry_hdr {
     uint32_t ue_index;
     uint8_t ue_module;
     uint8_t ue_level;
-    uint8_t ue_etype:4;
-    uint8_t ue_flags:4;
+    uint8_t ue_etype : 4;
+    uint8_t ue_flags : 4;
     uint8_t ue_imghash[4];
 } __attribute__((__packed__));
 #elif MYNEWT_VAL(LOG_VERSION) == 4
@@ -149,8 +149,8 @@ struct log_entry_hdr {
     uint32_t ue_index;
     uint8_t ue_module;
     uint8_t ue_level;
-    uint8_t ue_etype:4;
-    uint8_t ue_flags:4;
+    uint8_t ue_etype : 4;
+    uint8_t ue_flags : 4;
     uint8_t ue_imghash[4];
     uint32_t ue_num_entries;
 } __attribute__((__packed__));

Reply via email to