Upgrade subm plus warning fix (#3235)

This commit is contained in:
gullradriel
2026-06-25 08:46:36 +02:00
committed by GitHub
parent 8a16ec829c
commit d25899de10
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -772,7 +772,7 @@ void cpu_clock_init(void) {
clock_source_t activate_best_clock_source(void) {
#ifdef HACKRF_ONE
/* Ensure PortaPack reference oscillator is off while checking for external clock input. */
if (portapack_reference_oscillator && portapack()) {
if (portapack_present()) {
portapack_reference_oscillator(false);
}
#endif
@@ -785,7 +785,7 @@ clock_source_t activate_best_clock_source(void) {
} else {
#ifdef HACKRF_ONE
/* Enable PortaPack reference oscillator (if present), and check for valid clock. */
if (portapack_reference_oscillator && portapack()) {
if (portapack_present()) {
portapack_reference_oscillator(true);
delay(510000); /* loop iterations @ 204MHz for >10ms for oscillator to enable. */
if (si5351c_clkin_signal_valid(&clock_gen)) {
+1 -1
Submodule hackrf updated: ba2045a866...d371476c03