mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-25 20:28:21 +00:00
scan address 0x03 again
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2377 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
7f9a68c529
commit
e1c8fe7676
2 files changed
+2
-2
No files matched your search
@@ -159,7 +159,7 @@ int main(int argc, char *argv[])
|
|||||||
for (i = 0; i < 128; i+=16) {
|
for (i = 0; i < 128; i+=16) {
|
||||||
printf("%02x: ",i);
|
printf("%02x: ",i);
|
||||||
for(j = 0; j < 16; j++) {
|
for(j = 0; j < 16; j++) {
|
||||||
if (!force && (i+j<0x04 || i+j>0x77)) {
|
if (!force && (i+j<0x03 || i+j>0x77)) {
|
||||||
printf(" ");
|
printf(" ");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2418,7 +2418,7 @@ sub scan_adapter
|
|||||||
binmode FILE;
|
binmode FILE;
|
||||||
|
|
||||||
# Now scan each address in turn
|
# Now scan each address in turn
|
||||||
foreach $addr (0x04..0x77) {
|
foreach $addr (0x03..0x77) {
|
||||||
# As the not_to_scan list is sorted, we can check it fast
|
# As the not_to_scan list is sorted, we can check it fast
|
||||||
if (@not_to_scan and $not_to_scan[0] == $addr) {
|
if (@not_to_scan and $not_to_scan[0] == $addr) {
|
||||||
shift @not_to_scan;
|
shift @not_to_scan;
|
||||||
|
|||||||
Reference in new issue
Block a user