libbladeRF: added log message for failed FPGA image read
This commit is contained in:
parent
a34f6aaf1b
commit
b7a6173edd
1 changed files with 1 additions and 0 deletions
|
|
@ -1175,6 +1175,7 @@ int bladerf_load_fpga(struct bladerf *dev, const char *fpga_file)
|
|||
|
||||
status = file_read_buffer(fpga_file, &buf, &buf_size);
|
||||
if (status != 0) {
|
||||
log_error("Failed to read FPGA image: %s\n", bladerf_strerror(status));
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue