blinky: support platform detection

This commit is contained in:
Michael Ossmann
2022-09-23 15:08:22 -04:00
parent 06b9d7bee0
commit 04614c616a

View File

@ -20,12 +20,14 @@
*/ */
#include "hackrf_core.h" #include "hackrf_core.h"
#include "platform_detect.h"
int main(void) int main(void)
{ {
detect_hardware_platform();
pin_setup(); pin_setup();
/* enable all power supplies */ /* enable 1V8 power supply so that the 1V8 LED lights up */
enable_1v8_power(); enable_1v8_power();
/* Blink LED1/2/3 on the board. */ /* Blink LED1/2/3 on the board. */