firmware: fix compilation