mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-13 08:56:38 +02:00
Add disclaimer to the Ahoy
This commit is contained in:
parent
f2a794d518
commit
86b3137b6a
6 changed files with 36 additions and 1 deletions
|
@ -258,6 +258,11 @@ void web::showSave(AsyncWebServerRequest *request) {
|
|||
if(request->arg("invRetry") != "")
|
||||
mConfig->maxRetransPerPyld = request->arg("invRetry").toInt();
|
||||
|
||||
// Disclaimer
|
||||
if(request->arg("disclaimer") != "")
|
||||
mConfig->disclaimer = strcmp("true", request->arg("disclaimer").c_str()) == 0 ? true : false;
|
||||
DPRINTLN(DBG_INFO, request->arg("disclaimer").c_str());
|
||||
|
||||
// pinout
|
||||
uint8_t pin;
|
||||
for(uint8_t i = 0; i < 3; i ++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue