From 3796bc94d88e5d22ffa9d74168fc3c47c7c03fb7 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Sun, 8 Jan 2023 08:27:28 -0500 Subject: [PATCH] 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. --- firmware/common/platform_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/platform_detect.c b/firmware/common/platform_detect.c index e1608bd8..5430c5d8 100644 --- a/firmware/common/platform_detect.c +++ b/firmware/common/platform_detect.c @@ -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;