Skip to content

Commit

Permalink
Fix: Saving DTU config values just returned "Values are missing"
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Sep 22, 2024
1 parent 0c5e702 commit 84e5c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebApi_dtu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void WebApiDtuClass::onDtuAdminPost(AsyncWebServerRequest* request)
if (!(root["serial"].is<String>()
&& root["pollinterval"].is<uint32_t>()
&& root["nrf_palevel"].is<uint8_t>()
&& root["cmt_palevel"].is<uint8_t>()
&& root["cmt_palevel"].is<int8_t>()
&& root["cmt_frequency"].is<uint32_t>()
&& root["cmt_country"].is<uint8_t>())) {
retMsg["message"] = "Values are missing!";
Expand Down

0 comments on commit 84e5c08

Please sign in to comment.