mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-23 18:15:34 +00:00
Updated Configuration Parameters (markdown)
parent
cbefa75d21
commit
4b8fce4ab5
@ -22,3 +22,19 @@ These two new boolean parameters have been added into the `uint32_t ui_config` v
|
|||||||
* 29 (HAVOC)Start in stealth mode
|
* 29 (HAVOC)Start in stealth mode
|
||||||
* 28 (**MAYHEM H1 Branch**)Place a back ("..") button in each menu
|
* 28 (**MAYHEM H1 Branch**)Place a back ("..") button in each menu
|
||||||
* 27 (**MAYHEM H1 Branch**)Use speaker output (H1 model accepts a speaker)
|
* 27 (**MAYHEM H1 Branch**)Use speaker output (H1 model accepts a speaker)
|
||||||
|
|
||||||
|
### Using this two new booleans
|
||||||
|
|
||||||
|
They can be reached from anywhere by adding (if not already there) this include:
|
||||||
|
|
||||||
|
`#include "portapack_persistent_memory.hpp"`
|
||||||
|
|
||||||
|
and then you can check the configuration status for each parameter with:
|
||||||
|
|
||||||
|
`portapack::persistent_memory::config_backbutton()`
|
||||||
|
|
||||||
|
and
|
||||||
|
|
||||||
|
`portapack::persistent_memory::config_speaker()`
|
||||||
|
|
||||||
|
They return either TRUE or FALSE, depending on how they've been configured.
|
Loading…
Reference in New Issue
Block a user