diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/ata_mmc.c | 2 |
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 | ||
817 | bool mmc_detect(void) | 817 | bool 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 | ||
822 | bool mmc_touched(void) | 822 | bool mmc_touched(void) |