Fix yellow from 1951c17e0b on targets with USB_NONE

gui_usb_screen_run() is a do{} while(0) macro, resulting in an unused
variable warning in the "caller"

Change-Id: I4b4b00ef38decfb5cc9db0da3d81ad0c9a4207d1
This commit is contained in:
Solomon Peachy 2026-01-26 20:34:49 -05:00
parent 33d0a3efa3
commit 89cf5b57e6

View file

@ -24,7 +24,7 @@
#include <stdint.h>
#ifdef USB_NONE
#define gui_usb_screen_run(early_usb, seqnum) do {} while(0)
#define gui_usb_screen_run(early_usb, seqnum) do {(void)seqnum;} while(0)
#else
extern void gui_usb_screen_run(bool early_usb, intptr_t seqnum);
#endif