You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2024/03/20 19:10:06 UTC
(mynewt-core) branch vipul/logging_num_entries created (now a66e6efbe)
This is an automated email from the ASF dual-hosted git repository.
vipulrahane pushed a change to branch vipul/logging_num_entries
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
at a66e6efbe sys/log: fix coding style in header
This branch includes the following new commits:
new a66e6efbe sys/log: fix coding style in header
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(mynewt-core) 01/01: sys/log: fix coding style in header
Posted by vi...@apache.org.
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 <vi...@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__));