diff options
Diffstat (limited to 'gui/stmdsp.cpp')
-rw-r--r-- | gui/stmdsp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/stmdsp.cpp b/gui/stmdsp.cpp index 06f0100..2c39f46 100644 --- a/gui/stmdsp.cpp +++ b/gui/stmdsp.cpp @@ -58,7 +58,7 @@ namespace stmdsp m_serial.read(reinterpret_cast<uint8_t *>(&count), sizeof(uint32_t)); } - return count; + return count / 2; } std::vector<adcsample_t> device::continuous_read() { |