summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c
index 01b8a6f029..16d06584c5 100644
--- a/firmware/drivers/ata_mmc.c
+++ b/firmware/drivers/ata_mmc.c
@@ -816,7 +816,7 @@ void mmc_enable_monitoring(bool on)
816 816
817bool mmc_detect(void) 817bool mmc_detect(void)
818{ 818{
819 return adc_read(ADC_MMC_SWITCH) < 0x200 ? true : false; 819 return (adc_read(ADC_MMC_SWITCH) < 0x200);
820} 820}
821 821
822bool mmc_touched(void) 822bool mmc_touched(void)