fix warnings in firmware.ino