mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 18:27:42 +00:00
Missing lambda capture.
This commit is contained in:
@@ -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<const BasebandConfigurationMessage*>(p);
|
||||
baseband_thread.set_configuration(message->configuration);
|
||||
this->baseband_thread.set_configuration(message->configuration);
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user