mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-03 05:55:18 +01:00
Add HackRF One RF power enable for samples that RX or TX.
This commit is contained in:
@@ -34,6 +34,9 @@ int main(void)
|
||||
|
||||
pin_setup();
|
||||
enable_1v8_power();
|
||||
#ifdef HACKRF_ONE
|
||||
enable_rf_power();
|
||||
#endif
|
||||
cpu_clock_init();
|
||||
ssp1_init();
|
||||
|
||||
|
||||
@@ -92,6 +92,9 @@ int main(void) {
|
||||
|
||||
pin_setup();
|
||||
enable_1v8_power();
|
||||
#ifdef HACKRF_ONE
|
||||
enable_rf_power();
|
||||
#endif
|
||||
cpu_clock_init();
|
||||
ssp1_init();
|
||||
rf_path_init();
|
||||
|
||||
@@ -33,6 +33,9 @@ int main(void)
|
||||
|
||||
pin_setup();
|
||||
enable_1v8_power();
|
||||
#ifdef HACKRF_ONE
|
||||
enable_rf_power();
|
||||
#endif
|
||||
cpu_clock_init();
|
||||
ssp1_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user