mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Full init when switching to any other mode than idle
This commit is contained in:
parent
641f4ccd98
commit
978842a2ff
3 changed files with 2 additions and 4 deletions
|
|
@ -192,7 +192,7 @@ void HW::SetMode(Mode mode) {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if(mode != Mode::Idle && activeMode != Mode::Idle) {
|
||||
if(mode != Mode::Idle) {
|
||||
// do a full initialization when switching directly between modes
|
||||
HW::Init();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue