summaryrefslogtreecommitdiff
path: root/nuttx/configs/open1788/src/open1788.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/open1788/src/open1788.h')
-rw-r--r--nuttx/configs/open1788/src/open1788.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/configs/open1788/src/open1788.h b/nuttx/configs/open1788/src/open1788.h
index 9a839704a..8078fe9c5 100644
--- a/nuttx/configs/open1788/src/open1788.h
+++ b/nuttx/configs/open1788/src/open1788.h
@@ -105,13 +105,11 @@
/* The SD card detect (CD) signal is on P0[13]. This signal is shared. It is also
* used for MOSI1 and USB_UP_LED. The CD pin may be disconnected. There is a jumper
* on board that enables the CD pin.
+ *
+ * The CD pin is interrupting:
*/
-#if 0 /* The CD pin may be interrupting */
-# define GPIO_SD_CD (GPIO_INTBOTH | GPIO_PULLUP | GPIO_PORT0 | GPIO_PIN13)
-#else
-# define GPIO_SD_CD (GPIO_INPUT | GPIO_PULLUP | GPIO_PORT0 | GPIO_PIN13)
-#endif
+#define GPIO_SD_CD (GPIO_INTBOTH | GPIO_PULLUP | GPIO_PORT0 | GPIO_PIN13)
/************************************************************************************
* Public Types