mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-04 20:54:28 -04:00
Jammer UI
Drew jammer UI Added presets for French GSM operators and a few other funny frequencies Added minimalist jamming baseband code
This commit is contained in:
parent
ff96464efe
commit
66de53744e
8 changed files with 579 additions and 9 deletions
|
@ -76,7 +76,6 @@ WhistleView::WhistleView(
|
|||
transmitter_model.set_tuning_frequency(persistent_memory::tuned_frequency());
|
||||
|
||||
add_children({ {
|
||||
&button_scan,
|
||||
&button_transmit,
|
||||
&button_exit
|
||||
} });
|
||||
|
@ -98,17 +97,17 @@ WhistleView::WhistleView(
|
|||
shared_memory.afsk_transmit_done = false;
|
||||
shared_memory.afsk_repeat = 5; // DEFAULT
|
||||
|
||||
text_status.set("Send...");
|
||||
text_status.set("Send...");*/
|
||||
|
||||
transmitter_model.enable();*/
|
||||
transmitter_model.enable();
|
||||
};
|
||||
|
||||
button_exit.on_select = [&nav](Button&){
|
||||
nav.pop();
|
||||
};
|
||||
|
||||
static VirtualTimer vt1;
|
||||
msg_t msg, result;
|
||||
//static VirtualTimer vt1;
|
||||
//msg_t msg, result;
|
||||
|
||||
/*static EvTimer evt;
|
||||
static EventListener el0;
|
||||
|
@ -119,14 +118,14 @@ WhistleView::WhistleView(
|
|||
|
||||
//chVTSet(&vt1, MS2ST(2000), whistle_th, (void *)&mbox);
|
||||
|
||||
while(1) {
|
||||
//while(1) {
|
||||
/*result = chMBFetch(&mbox, &msg, TIME_INFINITE);
|
||||
if(result == RDY_OK) {
|
||||
if(msg & 1)
|
||||
button_scan.set_text("POUET");
|
||||
}*/
|
||||
chThdSleepMilliseconds(500);
|
||||
}
|
||||
//chThdSleepMilliseconds(500);
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue