mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-19 22:24:02 +00:00
More consistent use of pass-by-ref, const in baseband code.
This commit is contained in:
@@ -163,7 +163,7 @@ private:
|
||||
}
|
||||
|
||||
stats.process(buffer,
|
||||
[](const BasebandStatistics statistics) {
|
||||
[](const BasebandStatistics& statistics) {
|
||||
const BasebandStatisticsMessage message { statistics };
|
||||
shared_memory.application_queue.push(message);
|
||||
}
|
||||
@@ -233,7 +233,7 @@ private:
|
||||
|
||||
stats.process(
|
||||
buffer,
|
||||
[](const RSSIStatistics statistics) {
|
||||
[](const RSSIStatistics& statistics) {
|
||||
const RSSIStatisticsMessage message { statistics };
|
||||
shared_memory.application_queue.push(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user