Commit fcb28669 authored by PhiBo's avatar PhiBo 🚀

Fix substring align

parent 694de1ad
......@@ -166,7 +166,7 @@ void handleNotFound()
return;
}
if (uri.startsWith("/config/sensor/")) {
tmp = uri.substring(15, 4);
tmp = uri.substring(15, 19);
sensor_id = tmp.toInt();
handleConfigSensor(sensor_id);
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment