diff options
| -rw-r--r-- | firmware/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 90537f9..327b07d 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -74,7 +74,7 @@ static int usb_mmc_countdown = 0; /* FIXME: The extra 0x400 is consumed by fat_mount() when the fsinfo needs updating */ -static long usb_stack[(DEFAULT_STACK_SIZE + 0x400)/4]; +static long usb_stack[(DEFAULT_STACK_SIZE + 0x400)/sizeof(long)]; static const char usb_thread_name[] = "usb"; static struct event_queue usb_queue; static bool last_usb_status; |