bugfix:k28_usbhshost.c:380:47: error: 'errcode' undeclared

arm/kinetis/freedom-k28f: fix usb automount compile error

This patch fix k28_usbhshost.c:380:47: error: 'errcode' undeclared

Signed-off-by: lipan118<lp.xiao@foxmail.com>
This commit is contained in:
lpxiao
2026-01-14 12:09:03 +08:00
committed by simbit18
parent 36e5752205
commit a174dbb2f7
@@ -377,7 +377,7 @@ static void usb_msc_disconnect(void *arg)
else
{
ferr("ERROR: Unmount failed: %d\n", errcode);
ferr("ERROR: Unmount failed: %d\n", ret);
}
}
}