Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
nravanelli committed Dec 19, 2024
1 parent 9761699 commit ee3df97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/gpssetup/gpssetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,10 @@ function setupSuperE() {
*/
return delay(20);
});
break;
}
case(2):{
//nothing more to do.
return;
break;
}
}

Expand Down Expand Up @@ -162,7 +160,6 @@ function setupPSMOO(settings) {
*/
return delay(20);
});
break;
}
case(2): {
var gpsTimeout = null;
Expand Down Expand Up @@ -212,7 +209,7 @@ require("gpssetup").setPowerMode({power_mode:"SuperE"}) // <-- Super E mode
See the README for more information
*/
exports.setPowerMode = function(options) {
settings = require("Storage").readJSON(SETTINGS_FILE,1)||{};
var settings = require("Storage").readJSON(SETTINGS_FILE,1)||{};
if (options) {
if (options.update) settings.update = options.update;
if (options.search) settings.search = options.search;
Expand Down

0 comments on commit ee3df97

Please sign in to comment.