h1r9: check firmware running on r9 for r9 support
Previously we checked for OG support instead of r9 support because we didn't yet have a way to tag firmware binaries with support for multiple platforms.
This commit is contained in:
@ -165,7 +165,7 @@ void detect_hardware_platform(void)
|
||||
platform = BOARD_ID_HACKRF1_OG;
|
||||
break;
|
||||
case HACKRF1_R9_RESISTORS:
|
||||
if (!(supported_platform() & PLATFORM_HACKRF1_OG)) { //FIXME temporary
|
||||
if (!(supported_platform() & PLATFORM_HACKRF1_R9)) {
|
||||
halt_and_flash(3000000);
|
||||
}
|
||||
platform = BOARD_ID_HACKRF1_R9;
|
||||
|
Reference in New Issue
Block a user