From 75b1cc25ff68b27adf60ab0971c03d8f06ab415e Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 10 Dec 2015 21:21:42 -0800 Subject: [PATCH] Missing lambda capture. --- firmware/baseband/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/baseband/main.cpp b/firmware/baseband/main.cpp index 6705f8af..9f8ea308 100755 --- a/firmware/baseband/main.cpp +++ b/firmware/baseband/main.cpp @@ -127,9 +127,9 @@ public: void run() { message_map.register_handler(Message::ID::BasebandConfiguration, - [](const Message* const p) { + [this](const Message* const p) { auto message = reinterpret_cast(p); - baseband_thread.set_configuration(message->configuration); + this->baseband_thread.set_configuration(message->configuration); } );