mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-31 18:49:15 -04:00
Extract spectrum collector from BasebandProcessor.
Code size improvement, and less confused classes. :-)
This commit is contained in:
parent
75b1cc25ff
commit
088f60f2bc
15 changed files with 193 additions and 86 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue