diff --git a/firmware/application/capture_thread.hpp b/firmware/application/capture_thread.hpp index e77a9b51..9f9a0da1 100644 --- a/firmware/application/capture_thread.hpp +++ b/firmware/application/capture_thread.hpp @@ -56,11 +56,11 @@ public: } size_t available() { - return config.fifo->len(); + return fifo->len(); } size_t read(void* const data, const size_t length) { - return config.fifo->out(reinterpret_cast(data), length); + return fifo->out(reinterpret_cast(data), length); } static FIFO* fifo;