Updated Configuration Parameters (markdown)

euquiq 2020-06-02 20:41:27 -03:00
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.