diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2014-02-20 09:54:34 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2014-02-20 09:54:34 +0000 |
commit | 01a62cb7f3599cb0e0b4677590347adaf81d21ff (patch) | |
tree | 3dd8683603ba559ee30a86dc340ccff792100166 | |
parent | 7173aa69e642a1d1b355921673c8afec2c1bbce2 (diff) | |
download | i2c-tools-01a62cb7f3599cb0e0b4677590347adaf81d21ff.tar.gz |
decode-dimms: Encode "degrees" to HTML degree symbol
git-svn-id: http://lm-sensors.org/svn/i2c-tools/branches/i2c-tools-3.1@6231 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | CHANGES | 1 | ||||
-rwxr-xr-x | eeprom/decode-dimms | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -13,6 +13,7 @@ SVN HEAD Fix DDR3 tRAS decoding Fix DDR3 core timings rounding Round down PC3 numbers to comply with Jedec + Encode "degrees" to HTML degree symbol i2cdetect: Clarify the SMBus commands used for probing by default i2c-dev.h: Minimize differences with kernel flavor i2c-stub-from-dump: Be more tolerant on input dump format diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index 60c3506..60b95c0 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -408,6 +408,7 @@ sub html_encode($) my $text = shift; $text =~ s/</\</sg; $text =~ s/>/\>/sg; + $text =~ s/ degrees C/\°C/sg; $text =~ s/\n/<br>\n/sg; return $text; } @@ -1286,7 +1287,7 @@ sub decode_ddr3_sdram($) printl("RZQ/6 supported?", ($bytes->[30] & 1) ? "Yes" : "No"); printl("RZQ/7 supported?", ($bytes->[30] & 2) ? "Yes" : "No"); printl("DLL-Off Mode supported?", ($bytes->[30] & 128) ? "Yes" : "No"); - printl("Operating temperature range", sprintf "0-%dC", + printl("Operating temperature range", sprintf "0-%d degrees C", ($bytes->[31] & 1) ? 95 : 85); printl("Refresh Rate in extended temp range", ($bytes->[31] & 2) ? "2X" : "1X"); |