summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-11-22 13:36:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-11-22 13:36:07 -0600
commit60e8860892ac78afe91601ec35dbc1bcf29994e8 (patch)
treebbe7dbb39683a5bc0aa0f7f0fc45f414dfe1f24e /nuttx/configs
parent98b2112ad6fd5251d6f131d0403a2546fe538dab (diff)
downloadpx4-nuttx-60e8860892ac78afe91601ec35dbc1bcf29994e8.tar.gz
px4-nuttx-60e8860892ac78afe91601ec35dbc1bcf29994e8.tar.bz2
px4-nuttx-60e8860892ac78afe91601ec35dbc1bcf29994e8.zip
Cosmetic changes
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/olimex-lpc-h3131/include/board.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/configs/olimex-lpc-h3131/include/board.h b/nuttx/configs/olimex-lpc-h3131/include/board.h
index 512fc4b65..b0f020ffb 100644
--- a/nuttx/configs/olimex-lpc-h3131/include/board.h
+++ b/nuttx/configs/olimex-lpc-h3131/include/board.h
@@ -196,5 +196,24 @@ void lpc31_boardinitialize(void);
void lpc31_setled(int led, bool ledon);
void lpc31_setleds(uint8_t ledset);
+/************************************************************************************
+ * Name: lpc31_setup_overcurrent
+ *
+ * Description:
+ * Setup to receive an interrupt-level callback if an overcurrent condition is
+ * detected.
+ *
+ * Input parameter:
+ * handler - New overcurrent interrupt handler
+ *
+ * Returned value:
+ * Old overcurrent interrupt handler
+ *
+ ************************************************************************************/
+
+#if 0 /* Not ready yet */
+xcpt_t lpc31_setup_overcurrent(xcpt_t handler);
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_OLIMEX_LPC_H3131_INCLUDE_BOARD_H */