This commit is contained in:
folkert van heusden 2024-04-30 23:05:08 +02:00
parent 18c655b522
commit b8222d36e5
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

1
dc11.h
View file

@ -32,6 +32,7 @@ private:
std::atomic_bool stop_flag { false }; std::atomic_bool stop_flag { false };
std::thread *th { nullptr }; std::thread *th { nullptr };
// not statically allocated because of compiling problems on arduino
pollfd *pfds { nullptr }; pollfd *pfds { nullptr };
std::vector<char> recv_buffers[dc11_n_lines]; std::vector<char> recv_buffers[dc11_n_lines];
std::condition_variable have_data[dc11_n_lines]; std::condition_variable have_data[dc11_n_lines];