Skip to content

Commit 3302146

Browse files
committed
Reduce times for training and factory reset.
1 parent 1d4f477 commit 3302146

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firmware/LoRaSerial/LoRaSerial.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ uint8_t AESiv[AES_IV_BYTES] = {0}; //Set during hop table generation
166166
#include <JC_Button.h> // http://librarymanager/All#JC_Button //v2.1.2
167167
Button *trainBtn = NULL; //We can't instantiate the button here because we don't yet know what pin number to use
168168

169-
const int trainButtonClientTime = 4 * 1000; //ms press and hold before entering client training
170-
const int trainButtonServerTime = 8 * 1000; //ms press and hold before entering server training
171-
const int trainButtonFactoryResetTime = 16 * 1000; //ms press and hold before reset
169+
const int trainButtonClientTime = 3 * 1000; //ms press and hold before entering client training
170+
const int trainButtonServerTime = 6 * 1000; //ms press and hold before entering server training
171+
const int trainButtonFactoryResetTime = 10 * 1000; //ms press and hold before reset
172172

173173
bool inTraining; //True if training is in process
174174
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

0 commit comments

Comments
 (0)