Imrpoved sound quality in analog_audio_app, and added Nyquist protection option to BBW filter for praline. (#3054)

This commit is contained in:
stafur
2026-02-28 17:36:01 -05:00
committed by GitHub
parent b013e68b17
commit 3a54b112ec
7 changed files with 225 additions and 74 deletions
+10
View File
@@ -373,6 +373,16 @@ class Si5351 {
#endif
}
#ifdef PRALINE
void set_clock_control_single_byte(const ClockControls& clock_control) {
_clock_control = clock_control;
// Use single-byte writes for PRALINE (multi-byte I2C fails)
for (size_t i = 0; i < 8; i++) {
write_register(Register::CLKControl_Base + i, _clock_control[i]);
}
}
#endif
bool plla_loss_of_signal() {
return (device_status() >> 5) & 1;
}