mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 03:34:35 +00:00
Missing lambda capture.
This commit is contained in:
parent
211d1d19ea
commit
75b1cc25ff
@ -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);
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user