mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-01 13:04:43 -04:00
Preserve radio mode when updating iq_tx_phase_cal (#2008)
This commit is contained in:
parent
6e34343bde
commit
8383363e74
4 changed files with 22 additions and 2 deletions
|
@ -841,6 +841,7 @@ class MAX2837 : public MAX283x {
|
|||
|
||||
private:
|
||||
spi::arbiter::Target& _target;
|
||||
Mode _mode{Mode::Standby};
|
||||
|
||||
RegisterMap _map{initial_register_values};
|
||||
DirtyRegisters<Register, reg_count> _dirty{};
|
||||
|
@ -851,6 +852,7 @@ class MAX2837 : public MAX283x {
|
|||
reg_t read(const Register reg);
|
||||
|
||||
void flush();
|
||||
Mode get_mode();
|
||||
};
|
||||
|
||||
} // namespace max2837
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue