Skip to content

Commit

Permalink
BootTime check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacharie Gignac authored and Zacharie Gignac committed Jul 8, 2022
1 parent f9b83c6 commit e75f761
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JS/USBMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ async function init() {


var bootTime = await getBootTime();
if (bootTime > 290) {
if (bootTime > 99) {
if (DEBUG)
console.log(`USBMode: init()`);

Expand Down
2 changes: 1 addition & 1 deletion JS/USBModeDual.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ async function getBootTime() {
/* SCRIPT INIT */
async function init() {
var bootTime = await getBootTime();
if (bootTime > 290) {
if (bootTime > 99) {
/* endSession panel override */
xapi.command('UserInterface Extensions Panel Save', {
PanelId: 'endSessionUsbModeDual'
Expand Down

0 comments on commit e75f761

Please sign in to comment.