firmware: fix a warning