diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2021-02-01 19:03:24 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2021-02-01 19:03:24 -0500 |
commit | 22a0cd0c82e4c63a8e1a6546218d1ab58f3b6221 (patch) | |
tree | 0e2f05f723242f0e9870bd1f95a6c22802c60580 /gui/stmdsp.cpp | |
parent | 4f59610a00da78639c1909acb09c7dfde4519a28 (diff) |
clean up gui states
Diffstat (limited to 'gui/stmdsp.cpp')
-rw-r--r-- | gui/stmdsp.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/stmdsp.cpp b/gui/stmdsp.cpp index 897e643..1b4bba6 100644 --- a/gui/stmdsp.cpp +++ b/gui/stmdsp.cpp @@ -139,13 +139,17 @@ namespace stmdsp } void device::siggen_start() { - if (connected()) + if (connected()) { + m_is_siggening = true; m_serial.write("W"); + } } void device::siggen_stop() { - if (connected()) + if (connected()) { + m_is_siggening = false; m_serial.write("w"); + } } void device::upload_filter(unsigned char *buffer, size_t size) { |