host: libbladeRF/bladerf2: quick clang-format fixes
This commit is contained in:
parent
52605a0ef4
commit
98d4452597
1 changed files with 2 additions and 3 deletions
|
|
@ -1422,8 +1422,7 @@ static int bladerf2_open(struct bladerf *dev, struct bladerf_devinfo *devinfo)
|
|||
/* Get FPGA size */
|
||||
status = spi_flash_read_fpga_size(dev, &board_data->fpga_size);
|
||||
if (status < 0) {
|
||||
log_warning("Failed to get FPGA size %s\n",
|
||||
bladerf_strerror(status));
|
||||
log_warning("Failed to get FPGA size: %s\n", bladerf_strerror(status));
|
||||
}
|
||||
|
||||
if (getenv("BLADERF_FORCE_FPGA_A9")) {
|
||||
|
|
@ -4108,7 +4107,7 @@ static int bladerf2_get_vctcxo_trim(struct bladerf *dev, uint16_t *trim)
|
|||
status = spi_flash_read_vctcxo_trim(dev, trim);
|
||||
if (status < 0) {
|
||||
log_warning("Failed to get VCTCXO trim value: %s\n",
|
||||
bladerf_strerror(status));
|
||||
bladerf_strerror(status));
|
||||
log_debug("Defaulting DAC trim to 0x1ffc.\n");
|
||||
*trim = 0x1ffc;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue