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


The following commit(s) were added to refs/heads/vipul/logging_num_entries by 
this push:
     new f2010e9b9 sys/log: Fix coding style of the log header
f2010e9b9 is described below

commit f2010e9b97256dc507e80a4597dbe8cc0001ee9f
Author: Vipul Rahane <vipul.rah...@juul.com>
AuthorDate: Wed Mar 20 12:02:41 2024 -0700

    sys/log: Fix coding style of the log header
---
 sys/log/full/include/log/log.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/log/full/include/log/log.h b/sys/log/full/include/log/log.h
index aedcb60f6..2bdf4fc67 100644
--- a/sys/log/full/include/log/log.h
+++ b/sys/log/full/include/log/log.h
@@ -142,7 +142,7 @@ struct log_entry_hdr {
     uint8_t ue_etype:4;
     uint8_t ue_flags:4;
     uint8_t ue_imghash[4];
-}__attribute__((__packed__));
+} __attribute__((__packed__));
 #elif MYNEWT_VAL(LOG_VERSION) == 4
 struct log_entry_hdr {
     int64_t ue_ts;
@@ -153,7 +153,7 @@ struct log_entry_hdr {
     uint8_t ue_flags:4;
     uint8_t ue_imghash[4];
     uint32_t ue_num_entries;
-}__attribute__((__packed__));
+} __attribute__((__packed__));
 #else
 #error "Unsupported log version"
 #endif

Reply via email to