mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 17:27:39 +00:00
Const/pass-by-reference a bunch more baseband stuff.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
class RSSIStatisticsCollector {
|
||||
public:
|
||||
template<typename Callback>
|
||||
void process(rf::rssi::buffer_t buffer, Callback callback) {
|
||||
void process(const rf::rssi::buffer_t& buffer, Callback callback) {
|
||||
auto p = buffer.p;
|
||||
if( p == nullptr ) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user