Fix board/cxd56_sdcard.c:128:11: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
eeefc4a516
commit
d8babf8dfd
@ -125,7 +125,7 @@ static void board_sdcard_enable(void *arg)
|
|||||||
|
|
||||||
/* If not initialize SD slot */
|
/* If not initialize SD slot */
|
||||||
|
|
||||||
if (!nx_stat("/dev/mmcsd0", &stat_sdio, 1) == 0)
|
if (nx_stat("/dev/mmcsd0", &stat_sdio, 1) != 0)
|
||||||
{
|
{
|
||||||
/* Now bind the SDHC interface to the MMC/SD driver */
|
/* Now bind the SDHC interface to the MMC/SD driver */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user