Reset the interrupt frame counter when muting signal generator
continuous-integration/drone Build is running Details

This commit is contained in:
Thijs Hekman 2023-08-29 16:23:18 +02:00
parent 376e0dc85c
commit 77a7e46f9d
2 changed files with 2 additions and 1 deletions

View File

@ -90,5 +90,6 @@ void Siggen::reset(const d newFs) {
assert(f.second);
f.second->reset();
}
_interruption_frame_count = 0;
resetImpl();
}

View File

@ -75,7 +75,7 @@ public:
*
* @param mute if tre
*/
void setMute(bool mute = true) { _muted = mute; }
void setMute(bool mute = true) { _muted = mute; _interruption_frame_count=0; }
/**
* @brief Set the level of the signal generator