Removes compile warnings from firmware.