commit | 161efeb011ecaeb7e9a52dd56d88b94c25c5db1f | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sun Mar 23 00:52:58 2008 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Sun Mar 23 00:52:58 2008 +0100 |
tree | 8a351c9921418fcaebdd8f2a0856d779b179cff4 | |
parent | 6887cb6817dac9c6e8fb43b560c58b6a37926529 [diff] | |
parent | 01026a6e613e1cfe580122fb5350677025f896fa [diff] |
Merge branch 'master' of git://www.denx.de/git/u-boot-fdt
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;