commit | fe76494a01bac2c813c9e387d52da76079fcda16 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sat Mar 22 23:27:43 2008 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Sat Mar 22 23:27:43 2008 +0100 |
tree | 3655325978503c8404d54ebdd3567289475ed400 | |
parent | 53a34af4f9171686bb2fd3ece449cf94ec75f02e [diff] | |
parent | 934f1f8eb2ddcff0da96880f466d3d668463e098 [diff] |
Merge branch 'master' of /home/wd/git/u-boot/work
diff --git a/post/board/lwmon5/dspic.c b/post/board/lwmon5/dspic.c index 65b96bc..dbaa074 100644 --- a/post/board/lwmon5/dspic.c +++ b/post/board/lwmon5/dspic.c
@@ -97,8 +97,9 @@ if (data == -1) { post_log("dsPIC : failed read system error\n"); ret = 1; - } else { + } else if (data != 0) { post_log("dsPIC SYS-ERROR code: 0x%04X\n", data); + ret = 1; } return ret;