Added missing files, ENUMed modulation modes

This commit is contained in:
furrtek 2016-01-05 11:47:46 +01:00
parent 9b8b8cc83f
commit 3477a2691a
34 changed files with 583 additions and 98 deletions

View file

@ -187,7 +187,7 @@ LCRView::LCRView(
.foreground = Color::black(),
};
transmitter_model.set_modulation(16);
transmitter_model.set_modulation(TX_LCR);
transmitter_model.set_tuning_frequency(portapack::persistent_memory::tuned_frequency());
memset(litteral, 0, 5*8);
memset(rgsb, 0, 5);
@ -275,9 +275,7 @@ LCRView::LCRView(
nav.push(new DebugLCRView { nav, lcrstring, checksum });
};
button_transmit.on_select = [this,&transmitter_model](Button&){
uint16_t c;
button_transmit.on_select = [this,&transmitter_model](Button&){
auto& message_map = context().message_map();
make_frame();