fixes for big endian support (svp drc, libpicofe update)

This commit is contained in:
kub 2021-02-24 21:34:53 +01:00
parent 0c948e2c82
commit 4da84f9454
2 changed files with 6 additions and 1 deletions

View file

@ -38,8 +38,13 @@ typedef union
{
unsigned int v;
struct {
#if CPU_IS_LE
unsigned short l;
unsigned short h;
#else
unsigned short h;
unsigned short l;
#endif
};
} ssp_reg_t;