Skip to content

Commit

Permalink
Fixed for construction script
Browse files Browse the repository at this point in the history
  • Loading branch information
dnewman-gpsw committed Nov 26, 2024
1 parent 1d5c721 commit 43def4b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/control/construction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The second option is a USB keep alive device that prevents your USB power bank f

**Compatibility:** Labs enabled HERO5 Session, HERO7-13, MAX and BONES

updated: September 10, 2024
updated: November 26, 2024

[More features](..) for Labs enabled cameras

Expand Down Expand Up @@ -137,7 +137,11 @@ function timeLoop()
var interval = Math.trunc(((endmins - startmins)*60 / perday) - 15);
if(interval < 30) interval = 30;

cmd = "mPdP>" + stxt + "<" + etxt + "!" + interval + "SQ~" + "!" + rtxt + "S!1R";
//Old style: mPdP>07:59<17:00!525SQ~!08:00S!1R
//cmd = "mPdP>" + stxt + "<" + etxt + "!" + interval + "SQ~" + "!" + rtxt + "S!1R";

//New Style: mPdP!S<11:09!11:00R>17:00!11:00R!105RQ (bypassing a bug handling >time1<time2(true)~(false))
cmd = "mPdP!S!N<" + stxt + "!" + rtxt + ">" + etxt + "!" + rtxt + "!" + interval + "RQ";
}

qrcode.clear();
Expand Down

0 comments on commit 43def4b

Please sign in to comment.