From a78665f5ef071d8d6ebcb8270812ceb392115418 Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 8 Nov 2023 00:52:38 -0500 Subject: [PATCH] this --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) {