summaryrefslogtreecommitdiff
path: root/nuttx/configs/sama5d4-ek/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-29 16:35:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-29 16:35:17 -0600
commit3d0ca16a64e5062e5572f23b334962b193a541d4 (patch)
treea479155a6a237d2225a862af39a8a919a9ba3732 /nuttx/configs/sama5d4-ek/src
parent68d97688bef1be92d7246e92d1312336be9e0565 (diff)
downloadpx4-nuttx-3d0ca16a64e5062e5572f23b334962b193a541d4.tar.gz
px4-nuttx-3d0ca16a64e5062e5572f23b334962b193a541d4.tar.bz2
px4-nuttx-3d0ca16a64e5062e5572f23b334962b193a541d4.zip
Minor warning/latent bug clean-up of auto-mounter logic
Diffstat (limited to 'nuttx/configs/sama5d4-ek/src')
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_hsmci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/configs/sama5d4-ek/src/sam_hsmci.c b/nuttx/configs/sama5d4-ek/src/sam_hsmci.c
index a6ab1439c..99016a8a6 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_hsmci.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_hsmci.c
@@ -240,6 +240,8 @@ static int sam_hsmci1_cardetect(int irq, void *regs)
sam_automount_event(HSMCI1_SLOTNO, sam_cardinserted(HSMCI1_SLOTNO));
#endif
+
+ return ret;
}
#endif