USBMS: Fix to prevent having onboard mounted both on device and PC

This commit is contained in:
Nicolas Mailloux 2023-06-15 23:23:23 -04:00
parent 5648b6351a
commit 89c9de1b1d

View file

@ -80,7 +80,7 @@ void usbmsSplash::usbmsLaunch()
} }
string_writeconfig("/opt/ibxd", "onboard_unmount\n"); string_writeconfig("/opt/ibxd", "onboard_unmount\n");
QThread::msleep(500); QThread::msleep(1000);
string_writeconfig("/opt/ibxd", "usbnet_stop\n"); string_writeconfig("/opt/ibxd", "usbnet_stop\n");
QThread::msleep(1000); QThread::msleep(1000);