From 04614c616abe01cf3b5251d36880af15e0725461 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Fri, 23 Sep 2022 15:08:22 -0400 Subject: [PATCH] blinky: support platform detection --- firmware/blinky/blinky.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/blinky/blinky.c b/firmware/blinky/blinky.c index 9560e403..e26d5f83 100644 --- a/firmware/blinky/blinky.c +++ b/firmware/blinky/blinky.c @@ -20,12 +20,14 @@ */ #include "hackrf_core.h" +#include "platform_detect.h" int main(void) { + detect_hardware_platform(); pin_setup(); - /* enable all power supplies */ + /* enable 1V8 power supply so that the 1V8 LED lights up */ enable_1v8_power(); /* Blink LED1/2/3 on the board. */