Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Jan 14, 2025
1 parent d64a981 commit 88897f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/[template][pc][vscode]/platform/math/cmsis_clang.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#define __USED __attribute__((used))
#endif
#ifndef __WEAK
#define __WEAK //__attribute__((weak))
#define __WEAK __attribute__((weak))
#endif
#ifndef __PACKED
#define __PACKED __attribute__((packed, aligned(1)))
Expand All @@ -72,6 +72,7 @@
#ifndef __PACKED_UNION
#define __PACKED_UNION union __attribute__((packed, aligned(1)))
#endif

#ifndef __UNALIGNED_UINT32 /* deprecated */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpacked"
Expand Down
2 changes: 1 addition & 1 deletion examples/[template][pc][vscode]/platform/math/cmsis_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#define __USED __attribute__((used))
#endif
#ifndef __WEAK
#define __WEAK //__attribute__((weak))
#define __WEAK __attribute__((weak))
#endif
#ifndef __PACKED
#define __PACKED __attribute__((packed, aligned(1)))
Expand Down

0 comments on commit 88897f0

Please sign in to comment.