Skip to content

Commit

Permalink
[coco][fuji] get_device_filename to use response.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Apr 29, 2024
1 parent e57e7f5 commit 462a9d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file modified data/webui/device_specific/BUILD_COCO/autorun.dsk
Binary file not shown.
5 changes: 4 additions & 1 deletion lib/device/drivewire/fuji.cpp
Expand Up @@ -1262,7 +1262,10 @@ void drivewireFuji::get_device_filename()
}

memcpy(tmp, _fnDisks[slot].filename, MAX_FILENAME_LEN);
fnUartBUS.write((uint8_t *)tmp, MAX_FILENAME_LEN);
response.clear();
response.shrink_to_fit();

response = std::string(tmp, MAX_FILENAME_LEN);
}

// Mounts the desired boot disk number
Expand Down

0 comments on commit 462a9d4

Please sign in to comment.