From 2f6afe9932ef51824420f7e5829fc272cfa4969c Mon Sep 17 00:00:00 2001 From: Aurora Date: Thu, 8 Sep 2016 01:50:02 +0200 Subject: [PATCH] Minor stuff --- source/fatfs/sdmmc/sdmmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fatfs/sdmmc/sdmmc.c b/source/fatfs/sdmmc/sdmmc.c index 74901e0..27966a1 100644 --- a/source/fatfs/sdmmc/sdmmc.c +++ b/source/fatfs/sdmmc/sdmmc.c @@ -107,8 +107,8 @@ static void __attribute__ ((noinline)) sdmmc_send_command(struct mmcdevice *ctx, u8 *rDataPtr = ctx->rData; const u8 *tDataPtr = ctx->tData; - int rUseBuf = NULL != rDataPtr; - int tUseBuf = NULL != tDataPtr; + bool rUseBuf = rDataPtr != NULL; + bool tUseBuf = tDataPtr != NULL; u16 status0 = 0; while(true)