diff --git a/src/main.cpp b/src/main.cpp index c77217c..ce21d18 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -272,13 +272,14 @@ class transceiver */ void virtual_kernel_subsystem_init() { - std::thread transmit([&] { + + std::thread transmit([&, this] { while (running) { } }); - std::thread receive([&] { + std::thread receive([&, this] { while (running) {