mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
host: mpmd based uhd_image_loader: prefer .bin files
Prefer .bin over .bit files when loading FPGA without full
FPGA path name. This changes the order which was introduced
with commit 2618b51cb8.
This commit is contained in:
parent
6cb889675f
commit
d687c4ebbe
@ -208,9 +208,9 @@ static std::string get_fpga_path(
|
||||
std::string type_name = fpga_type.empty() ? "" : "_" + fpga_type;
|
||||
std::string image_path;
|
||||
try {
|
||||
image_path = find_image_path(base_name + type_name + ".bit");
|
||||
} catch (const uhd::io_error&) {
|
||||
image_path = find_image_path(base_name + type_name + ".bin");
|
||||
} catch (const uhd::io_error&) {
|
||||
image_path = find_image_path(base_name + type_name + ".bit");
|
||||
}
|
||||
return image_path;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user