Fix for extra semicolon syntax error

master
RKBoss6 2025-07-23 17:16:20 -04:00 committed by GitHub
parent 276bf0c7cd
commit b170e9bb33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@
exports.changeInterval = function(newInterval) {
clearInterval(interval);
interval=setInterval(recordBattery, newInterval);
};
}
// Start recording every 5 minutes
interval=setInterval(recordBattery, 600000);
recordBattery(); // Log immediately