Skip to content

Commit

Permalink
Release 2.3.6
Browse files Browse the repository at this point in the history
AutoPayload bugfix
  • Loading branch information
exploitagency committed Sep 6, 2017
1 parent dfd9663 commit 4d28c4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions source/ESP_Code/ESP_Code.ino
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ void runpayload() {
// SOFTserial.println(line);
// Serial.println(line);
String line = f.readStringUntil('\n');
line.replace("&lt;", "<");
Serial.println(line);

String fullkeys = line;
int str_len = fullkeys.length()+1;
char keyarray[str_len];
Expand All @@ -105,6 +108,7 @@ void runpayload() {

if(cmd == "Rem") {
cmdinput = String(strtok_r(NULL,":",&i));
DelayLength = 1500;
}

else if(cmd == "DefaultDelay") {
Expand All @@ -118,13 +122,10 @@ void runpayload() {
cmdinput = String(strtok_r(NULL,":",&i));
String customdelay = cmdinput;
custom_delay = customdelay.toInt();
delay(custom_delay);
DelayLength = custom_delay;
// Serial.println(String()+"Custom delay set to:"+custom_delay);
}
// Serial.println(DelayLength);
else {
Serial.println(line);
}
delay(DelayLength); //delay between lines in payload, I found running it slower works best
DelayLength = defaultdelay;
}
Expand Down
Binary file modified source/ESP_Code/ESP_Code.ino.generic.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion source/ESP_Code/version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
String version = "2.3.5";
String version = "2.3.6";
String latestardversion = "2.1";

0 comments on commit 4d28c4a

Please sign in to comment.