Skip to content

Commit

Permalink
[coco][fuji] read_directory_entry to use response.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Apr 29, 2024
1 parent 80035bc commit ae545b2
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 @@ -909,7 +909,10 @@ void drivewireFuji::read_directory_entry()
}
}

fnUartBUS.write((uint8_t *)current_entry, maxlen);
response.clear();
response.shrink_to_fit();

response = std::string((const char *)current_entry, maxlen);
}

void drivewireFuji::get_directory_position()
Expand Down

0 comments on commit ae545b2

Please sign in to comment.