Move delay after enabling RF power to rad1o-specific code.

This commit is contained in:
Martin Ling
2022-08-31 22:41:31 +01:00
parent 555c6fb47b
commit 6d57709000
2 changed files with 3 additions and 3 deletions

View File

@ -931,6 +931,9 @@ void disable_rf_power(void)
void enable_rf_power(void)
{
gpio_set(&gpio_vaa_enable);
/* Let the voltage stabilize */
delay(1000000);
}
void disable_rf_power(void)

View File

@ -231,9 +231,6 @@ int main(void)
enable_1v8_power();
#if (defined HACKRF_ONE || defined RAD1O)
enable_rf_power();
/* Let the voltage stabilize */
delay(1000000);
#endif
cpu_clock_init();