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

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 228442ee239092df667d22f602b7057f9dcc73cb
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sat Dec 18 01:18:34 2021 +0800

    arch/renesas: Undefine macro B0 to avoid the confliction
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 arch/renesas/include/rx65n/iodefine.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/renesas/include/rx65n/iodefine.h 
b/arch/renesas/include/rx65n/iodefine.h
index e83f906..4777223 100644
--- a/arch/renesas/include/rx65n/iodefine.h
+++ b/arch/renesas/include/rx65n/iodefine.h
@@ -1022,6 +1022,8 @@
 #define FLASHCONST      (*(volatile struct st_flashconst      *)0xfe7f7d90)
 #define TEMPSCONST      (*(volatile struct st_tempsconst      *)0xfe7f7d7c)
 
+#undef B0 /* Avoid the conflicted macro in termios.h */
+
 /****************************************************************************
  * Public Types
  ****************************************************************************/

Reply via email to