mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04:00
Reduced audio tx FIFO refill size
Last received POCSAG address is auto loaded in POCSAG tx
This commit is contained in:
parent
aec41cab91
commit
446efa8fc0
12 changed files with 44 additions and 28 deletions
|
@ -77,6 +77,8 @@ struct data_t {
|
|||
uint32_t playdead_sequence;
|
||||
|
||||
uint32_t ui_config;
|
||||
|
||||
uint32_t pocsag_address;
|
||||
};
|
||||
|
||||
static_assert(sizeof(data_t) <= backup_ram.size(), "Persistent memory structure too large for VBAT-maintained region");
|
||||
|
@ -239,5 +241,13 @@ void set_ui_config(const uint32_t new_value) {
|
|||
data->ui_config = new_value;
|
||||
}
|
||||
|
||||
uint32_t pocsag_address() {
|
||||
return data->pocsag_address;
|
||||
}
|
||||
|
||||
void set_pocsag_address(uint32_t address) {
|
||||
data->pocsag_address = address;
|
||||
}
|
||||
|
||||
} /* namespace persistent_memory */
|
||||
} /* namespace portapack */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue