blinky update for HackRF One

This commit is contained in:
Michael Ossmann
2013-11-27 02:33:45 -07:00
parent f00747f260
commit 040aafc399

View File

@ -31,8 +31,11 @@ int main(void)
int i; int i;
pin_setup(); pin_setup();
/* Set 1V8 */ /* enable all power supplies */
gpio_set(PORT_EN1V8, PIN_EN1V8); enable_1v8_power();
#ifdef HACKRF_ONE
enable_rf_power();
#endif
/* Blink LED1/2/3 on the board and Read BOOT0/1/2/3 pins. */ /* Blink LED1/2/3 on the board and Read BOOT0/1/2/3 pins. */
while (1) while (1)