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

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


The following commit(s) were added to refs/heads/master by this push:
     new fbeba5e18 hw/mcu: Fix header guards in Apollo2 and Apollo3 HALs
fbeba5e18 is described below

commit fbeba5e182485e37b4df034c3a43b89b89ced8d1
Author: Szymon Janc <[email protected]>
AuthorDate: Thu Apr 23 11:41:59 2026 +0200

    hw/mcu: Fix header guards in Apollo2 and Apollo3 HALs
    
    There was a typo which resulted in header guards not working at all.
---
 hw/mcu/ambiq/apollo2/include/mcu/hal_apollo2.h | 2 +-
 hw/mcu/ambiq/apollo3/include/mcu/hal_apollo3.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/mcu/ambiq/apollo2/include/mcu/hal_apollo2.h 
b/hw/mcu/ambiq/apollo2/include/mcu/hal_apollo2.h
index 15cc833a1..86750903b 100644
--- a/hw/mcu/ambiq/apollo2/include/mcu/hal_apollo2.h
+++ b/hw/mcu/ambiq/apollo2/include/mcu/hal_apollo2.h
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-#ifndef __HAL_APOLLO2_H_
+#ifndef __HAL_APOLLO2_H__
 #define __HAL_APOLLO2_H__
 
 #include "os/mynewt.h"
diff --git a/hw/mcu/ambiq/apollo3/include/mcu/hal_apollo3.h 
b/hw/mcu/ambiq/apollo3/include/mcu/hal_apollo3.h
index 268293a91..fc095fc26 100644
--- a/hw/mcu/ambiq/apollo3/include/mcu/hal_apollo3.h
+++ b/hw/mcu/ambiq/apollo3/include/mcu/hal_apollo3.h
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-#ifndef __HAL_APOLLO3_H_
+#ifndef __HAL_APOLLO3_H__
 #define __HAL_APOLLO3_H__
 
 #include "os/mynewt.h"

Reply via email to