1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-05-05 15:54:34 +00:00

Automount VHD image at core start if present.

This commit is contained in:
sorgelig
2016-01-02 20:02:36 +08:00
parent ccb4fc4025
commit c0e45769aa

View File

@@ -242,6 +242,12 @@ void user_io_detect_core_type() {
strcpy(s+8, "ROM");
if (FileOpen(&file, s))
user_io_file_tx(&file, 0);
// check if there's a <core>.vhd present
strcpy(s+8, "VHD");
if (FileOpen(&file, s))
user_io_file_mount(&file);
}
// release reset