mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 07:19:28 -05: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