mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-17 23:28:50 -05:00
Cosmetic changes
This commit is contained in:
parent
1f8f8e4286
commit
27ef5aa35a
@ -35,12 +35,12 @@ bool DevicePerseusScan::scan(int nbDevices)
|
||||
|
||||
for (int deviceIndex = 0; deviceIndex < nbDevices; deviceIndex++)
|
||||
{
|
||||
if ((descr = perseus_open(deviceIndex)) == 0)
|
||||
if ((descr = perseus_open(deviceIndex)) == 0)
|
||||
{
|
||||
qCritical("DevicePerseusScan::scan: device #%d open error: %s", deviceIndex, perseus_errorstr());
|
||||
perseus_close(descr);
|
||||
continue;
|
||||
}
|
||||
qCritical("DevicePerseusScan::scan: device #%d open error: %s", deviceIndex, perseus_errorstr());
|
||||
perseus_close(descr);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (perseus_firmware_download(descr, 0) < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user