fix pinout for NRF24 read back, store enable

This commit is contained in:
lumapu 2023-04-25 21:06:48 +02:00
parent f2aad42be4
commit a0f44deb67
2 changed files with 4 additions and 4 deletions

View file

@ -543,7 +543,7 @@ class Web {
// nrf24 amplifier power
mConfig->nrf.amplifierPower = request->arg("rf24Power").toInt() & 0x03;
mConfig->nrf.enabled = (request->arg("rf24Enable") == "on");
mConfig->nrf.enabled = (request->arg("nrfEnable") == "on");
// cmt
mConfig->cmt.enabled = (request->arg("cmtEnable") == "on");