Skip to content

Commit

Permalink
Fix spelling error
Browse files Browse the repository at this point in the history
OpenAcousticDevices committed Sep 11, 2017
1 parent 0cdfd73 commit 9025359
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lifeDisplay.js
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ function formatFileSize(fileSize) {

if (fileSize < 10000) {

return fileSize + " kB";
return fileSize + " KB";

}

@@ -132,6 +132,7 @@ function updateLifeDisplay() {
/* Calculate amount of energy used both recording a sleeping over the course of a day */

energyUsed = totalRecLength * configuration.current / 3600;

energyUsed += (86400 - totalRecLength) * sleepEnergy / 3600;

text += "Daily energy consumption will be approximately " + Math.round(energyUsed) + " mAh.";

0 comments on commit 9025359

Please sign in to comment.