Skip to content

Commit

Permalink
Merge pull request deinstapel#27 from apyrgio/master
Browse files Browse the repository at this point in the history
Convert CPU frequency from MHz to GHz
  • Loading branch information
martin31821 committed Apr 18, 2016
2 parents e28f5df + 06159fd commit b5e5339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ const CPUFreqIndicator = new Lang.Class({

_getCurFreq: function()
{
return this.cpufreq.toString() + 'MHz';
return (this.cpufreq.toString() / 1000).toFixed(2) + 'GHz';
},

destroy: function()
Expand Down

0 comments on commit b5e5339

Please sign in to comment.