Skip to content

Commit

Permalink
Fixup: Misplaced #ifndef CMSIS_DISABLE_DEPRECATED
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatanAntoni committed May 8, 2024
1 parent 0b356d6 commit 83f9211
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMSIS/Core/Include/core_cm55.h
Original file line number Diff line number Diff line change
Expand Up @@ -3611,11 +3611,11 @@ typedef struct
@{
*/

#ifndef CMSIS_DISABLE_DEPRECATED

#define SCB_AIRCR_ENDIANESS_Pos SCB_AIRCR_ENDIANNESS_Pos
#define SCB_AIRCR_ENDIANESS_Msk SCB_AIRCR_ENDIANNESS_Msk

#ifndef CMSIS_DISABLE_DEPRECATED

/* deprecated, CMSIS_5 backward compatibility */
typedef struct
{
Expand Down
2 changes: 2 additions & 0 deletions CMSIS/Core/Include/core_cm85.h
Original file line number Diff line number Diff line change
Expand Up @@ -3635,6 +3635,8 @@ typedef struct
@{
*/

#ifndef CMSIS_DISABLE_DEPRECATED

#define SCB_AIRCR_ENDIANESS_Pos SCB_AIRCR_ENDIANNESS_Pos
#define SCB_AIRCR_ENDIANESS_Msk SCB_AIRCR_ENDIANNESS_Msk

Expand Down
4 changes: 2 additions & 2 deletions CMSIS/Core/Include/core_sc300.h
Original file line number Diff line number Diff line change
Expand Up @@ -1387,11 +1387,11 @@ typedef struct
@{
*/

#ifndef CMSIS_DISABLE_DEPRECATED

#define SCB_AIRCR_ENDIANESS_Pos SCB_AIRCR_ENDIANNESS_Pos
#define SCB_AIRCR_ENDIANESS_Msk SCB_AIRCR_ENDIANNESS_Msk

#ifndef CMSIS_DISABLE_DEPRECATED

/* deprecated, CMSIS_5 backward compatibility */
typedef struct
{
Expand Down

0 comments on commit 83f9211

Please sign in to comment.