Full init when switching to any other mode than idle

This commit is contained in:
Jan Käberich 2020-11-25 15:42:24 +01:00
parent 641f4ccd98
commit 978842a2ff
3 changed files with 2 additions and 4 deletions

View file

@ -8,7 +8,7 @@
void Generator::Setup(Protocol::GeneratorSettings g) {
if(g.activePort == 0) {
// both ports disabled, no need to configure PLLs
HW::SetMode(HW::Mode::Idle);
HW::SetIdle();
return;
}
Protocol::ManualControl m;