From c0b3c4e5cf411569eea5219e12bfe669046f746f Mon Sep 17 00:00:00 2001
From: Hieromon Ikasamo
Date: Tue, 9 Apr 2019 23:04:23 +0900
Subject: [PATCH] Changed AutoConnectFile extern device type
---
mkdocs/acjson.md | 2 +-
src/AutoConnectElementJson.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkdocs/acjson.md b/mkdocs/acjson.md
index df2b819..dceade9 100644
--- a/mkdocs/acjson.md
+++ b/mkdocs/acjson.md
@@ -149,7 +149,7 @@ This is different for each AutoConnectElements, and the key that can be specifie
: - **store** : Specifies the destination to save the uploaded file. Its value accepts one of the following:
fs : Save as the SPIFFS file in flash of ESP8266/ESP32 module.
sd : Save to an external SD device connected to ESP8266/ESP32 module.
-ext : Pass the content of the uploaded file to the uploader which is declared by the sketch individually. Its uploader must inherit **AutoConnectUploadHandler** class and implements *_open*, *_write* and *_close* function.
+extern : Pass the content of the uploaded file to the uploader which is declared by the sketch individually. Its uploader must inherit **AutoConnectUploadHandler** class and implements *_open*, *_write* and *_close* function.
#### ACInput
: - **value** : Specifies the initial text string of the input box. If this value is omitted, placeholder is displayed as the initial string.
diff --git a/src/AutoConnectElementJson.h b/src/AutoConnectElementJson.h
index 20b5797..3f382e5 100644
--- a/src/AutoConnectElementJson.h
+++ b/src/AutoConnectElementJson.h
@@ -39,7 +39,7 @@
#define AUTOCONNECT_JSON_TYPE_ACSELECT "ACSelect"
#define AUTOCONNECT_JSON_TYPE_ACSUBMIT "ACSubmit"
#define AUTOCONNECT_JSON_TYPE_ACTEXT "ACText"
-#define AUTOCONNECT_JSON_VALUE_EXTERNAL "external"
+#define AUTOCONNECT_JSON_VALUE_EXTERNAL "extern"
#define AUTOCONNECT_JSON_VALUE_FS "fs"
#define AUTOCONNECT_JSON_VALUE_HORIZONTAL "horizontal"
#define AUTOCONNECT_JSON_VALUE_SD "sd"