mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 14:57:43 +00:00
Extract spectrum collector from BasebandProcessor.
Code size improvement, and less confused classes. :-)
This commit is contained in:
@@ -187,9 +187,8 @@ private:
|
||||
}
|
||||
|
||||
void handle_spectrum() {
|
||||
if( baseband_thread.baseband_processor ) {
|
||||
baseband_thread.baseband_processor->update_spectrum();
|
||||
}
|
||||
// TODO: Send this via another message?!
|
||||
baseband_thread.on_update_spectrum();
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user