mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 17:35:34 -04:00
Play dead actually works, fixed 7bit AFSK, AFSK repeat, started whistle mode
This commit is contained in:
parent
07754727ed
commit
9a7657fb38
22 changed files with 447 additions and 128 deletions
|
@ -77,7 +77,7 @@ struct data_t {
|
|||
uint32_t afsk_config;
|
||||
|
||||
// Play dead unlock
|
||||
bool playing_dead;
|
||||
uint32_t playing_dead;
|
||||
uint32_t playdead_sequence;
|
||||
};
|
||||
|
||||
|
@ -138,11 +138,11 @@ void set_afsk_config(const uint32_t new_value) {
|
|||
data->afsk_config = new_value;
|
||||
}
|
||||
|
||||
bool playing_dead() {
|
||||
uint32_t playing_dead() {
|
||||
return data->playing_dead;
|
||||
}
|
||||
|
||||
void set_playing_dead(const bool new_value) {
|
||||
void set_playing_dead(const uint32_t new_value) {
|
||||
data->playing_dead = new_value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue