From 304a75064df59ebcccd759d57463db8397cee061 Mon Sep 17 00:00:00 2001 From: Corey Harding Date: Wed, 14 Mar 2018 04:34:15 -0400 Subject: [PATCH] Improve Stability and Default to Disable Safe Mode --- Source Code/esprfidtool/esprfidtool.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source Code/esprfidtool/esprfidtool.ino b/Source Code/esprfidtool/esprfidtool.ino index 908eee7..5fd4122 100644 --- a/Source Code/esprfidtool/esprfidtool.ino +++ b/Source Code/esprfidtool/esprfidtool.ino @@ -86,7 +86,7 @@ String dataCONVERSION=""; WiegandNG wg; -void LogWiegand(WiegandNG tempwg) { +void LogWiegand(WiegandNG &tempwg) { volatile unsigned char *buffer=tempwg.getRawData(); unsigned int bufferSize = tempwg.getBufferSize(); unsigned int countedBits = tempwg.getBitCounted(); @@ -691,7 +691,7 @@ void settingsPage() "Experimental TX Wiegand Data Interval: millisecond(s)
" "
" "Safe Mode:
" - "Reboot the device after every capture.
It is possible the device becomes unstable if Disabled and may require a physical reboot.
Disable to avoid missing consecutive captures like pinpad entries.
Only set to Disabled if compiled with EXACTLY esp8266 package version 2.4.1 by ESP8266 Community from Arduino Boards Manager.
Binaries downloaded from the official www.RFID-Tool.com releases page will be compiled with the proper dependencies.

" + "Enable to reboot the device after every capture.
Disable to avoid missing quick consecutive captures such as keypad entries.

" "Enabled
" "Disabled

" "
" @@ -786,7 +786,7 @@ bool loadDefaults() { json["bufferlength"] = "256"; json["txdelayus"] = "40"; json["txdelayms"] = "2"; - json["safemode"] = "1"; + json["safemode"] = "0"; File configFile = SPIFFS.open("/esprfidtool.json", "w"); json.printTo(configFile); loadConfig();