aboutsummaryrefslogtreecommitdiffstats
path: root/gui/stmdsp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/stmdsp.hpp')
-rw-r--r--gui/stmdsp.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/stmdsp.hpp b/gui/stmdsp.hpp
index 9db9df6..f805ab3 100644
--- a/gui/stmdsp.hpp
+++ b/gui/stmdsp.hpp
@@ -67,6 +67,7 @@ namespace stmdsp
void siggen_upload(dacsample_t *buffer, unsigned int size);
void siggen_start();
void siggen_stop();
+ bool is_siggening() const { return m_is_siggening; }
// buffer is ELF binary
void upload_filter(unsigned char *buffer, size_t size);
@@ -75,6 +76,7 @@ namespace stmdsp
private:
serial::Serial m_serial;
unsigned int m_buffer_size = SAMPLES_MAX;
+ bool m_is_siggening = false;
};
}