Skip to content

Commit

Permalink
Fix warning: ‘packed’ attribute ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Jun 27, 2021
1 parent 6820725 commit b3dd75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ee/excepHandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ extern int userThreadID;
extern int excepscrdump;

////////////////////////////////////////////////////////////////////////
typedef union
typedef union __attribute__((packed))
{
unsigned int uint128 __attribute__(( mode(TI) ));
unsigned long uint64[2];
} eeReg __attribute((packed));
} eeReg;

////////////////////////////////////////////////////////////////////////
// Prototypes
Expand Down

0 comments on commit b3dd75a

Please sign in to comment.