Skip to content

Conversation

@martinling
Copy link

@martinling martinling commented Feb 6, 2026

Recent versions of GCC catch this mistake with -Wheader-guard:

include/libopencm3/lpc43xx/cgu.h:36: warning: header guard 'LPC43XX_CGU_H' followed
by '#define' of a different macro [-Wheader-guard]
   36 | #ifndef LPC43XX_CGU_H
include/libopencm3/lpc43xx/cgu.h:37: note: 'CGU_LPC43XX_CGU_H' is defined here; did
you mean 'LPC43XX_CGU_H'?
   37 | #define CGU_LPC43XX_CGU_H

Some digging shows this was erroneously changed, presumably by an overzealous search-and-replace, in 770134b.

This was erroneously changed in 770134b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants