Extract spectrum collector from BasebandProcessor.

Code size improvement, and less confused classes. :-)
This commit is contained in:
Jared Boone 2015-12-11 12:26:45 -08:00
parent 75b1cc25ff
commit 088f60f2bc
15 changed files with 193 additions and 86 deletions

View file

@ -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();
}
};