mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 10:57:48 +00:00
Missing lambda capture.
This commit is contained in:
@@ -127,9 +127,9 @@ public:
|
|||||||
|
|
||||||
void run() {
|
void run() {
|
||||||
message_map.register_handler(Message::ID::BasebandConfiguration,
|
message_map.register_handler(Message::ID::BasebandConfiguration,
|
||||||
[](const Message* const p) {
|
[this](const Message* const p) {
|
||||||
auto message = reinterpret_cast<const BasebandConfigurationMessage*>(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