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

@ -68,6 +68,12 @@ void BasebandThread::set_configuration(const BasebandConfiguration& new_configur
baseband_configuration = new_configuration;
}
void BasebandThread::on_update_spectrum() {
if( baseband_processor ) {
baseband_processor->on_update_spectrum();
}
}
void BasebandThread::run() {
baseband::dma::init();