mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 17:49:14 -04:00
More consistent use of pass-by-ref, const in baseband code.
This commit is contained in:
parent
82f367dfea
commit
a7afc58cf8
6 changed files with 22 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue