From 617576969e2b50aa306b7c13128b3927bf6b0692 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Wed, 29 May 2019 22:17:51 +0900 Subject: [PATCH] Fixed typos. --- mkdocs/achandling.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mkdocs/achandling.md b/mkdocs/achandling.md index 07021ea..7d340bd 100644 --- a/mkdocs/achandling.md +++ b/mkdocs/achandling.md @@ -156,10 +156,10 @@ For example, to enable the submit button only when the ESP module is connected t #include #include -static const char AUX[] PROGMEM = R(" +static const char AUX[] PROGMEM = R"( { - "name" : "aux", "uri" : "/aux", + "title" : "Aux.", "menu" : true, "element" : [ { @@ -170,16 +170,17 @@ static const char AUX[] PROGMEM = R(" { "name": "send", "type": "ACSubmit", + "value": "SEND", "uri": "/send" } ] } -"); +)"; AutoConnect portal; AutoConnectAux page; -String onPage(AutoConectAux& aux, PageArgument& args) { +String onPage(AutoConnectAux& aux, PageArgument& args) { AutoConnectSubmit& send = aux["send"].as(); if (WiFi.isConnected()) send.enable = (WiFi.getMode() == WIFI_STA);