mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-10 16:49:54 -04:00
Work around apparent alignment bug in G++ 5.4.1?
Padding struct to be sizeof() % 4 == 0, because it was crashing the baseband... I think.
This commit is contained in:
parent
ed0d5331ad
commit
606c1cebac
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int16_t z[5] { };
|
int16_t z[5] { };
|
||||||
|
int16_t _dummy { }; // TODO: Addresses GCC bug when constructing a class that's not sizeof() % 4 == 0?
|
||||||
};
|
};
|
||||||
|
|
||||||
} /* namespace decimate */
|
} /* namespace decimate */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue