Update lcars.app.js

pull/1703/head
Ronin0000 2022-04-13 16:17:46 -07:00 committed by GitHub
parent 69496ba1a5
commit 3e7e1c19e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -652,13 +652,12 @@ function decreaseAlarm(){
var alarm = require('sched') var alarm = require('sched')
alarm.setAlarm(TIMER_IDX, undefined); alarm.setAlarm(TIMER_IDX, undefined);
if(minutes > 0){ if(minutes > 0){
alarm.setAlarm(TIMER_IDX, { alarm.setAlarm(TIMER_IDX, {
timer : minutes*60*1000, timer : minutes*60*1000,
}); });
} }
alarm.reload(); alarm.reload();
} catch(ex){ } } catch(ex){ }