mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-25 00:27:36 +01:00
Opera Cake: use 0-7 instead of I2C addresses & bump USB API version
This commit is contained in:
@@ -120,7 +120,7 @@ int main(void)
|
||||
}
|
||||
if(result == HACKRF_SUCCESS) {
|
||||
for(j=0; j<8; j++) {
|
||||
if(operacakes[j] == 0)
|
||||
if(operacakes[j] == HACKRF_OPERACAKE_ADDRESS_INVALID)
|
||||
break;
|
||||
printf("Operacake found, address: 0x%02x\n", operacakes[j]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user