Fix build errors in firmwares when compiling with newer versions of GCC.
Merge pull request #4 from davexunit/gcc-8.4.2

Fix build errors in firmwares when compiling with newer versions of GCC.