aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-02-26 17:32:07 -0800
committerPiotr Esden-Tempski2013-02-26 17:32:07 -0800
commit9c552e75850c21bcacaeb5e28e64cf0d03ecb246 (patch)
treea5a02588bce83180e660ec78f1bbe3405140d175
parentea67d6a36a20b0eb958a52ca653e8b5e7380086e (diff)
Fix all remaining lib warnings.
-rw-r--r--include/libopencm3/lpc13xx/gpio.h6
-rw-r--r--lib/lpc43xx/ssp.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/include/libopencm3/lpc13xx/gpio.h b/include/libopencm3/lpc13xx/gpio.h
index 7e44fe3..4a71625 100644
--- a/include/libopencm3/lpc13xx/gpio.h
+++ b/include/libopencm3/lpc13xx/gpio.h
@@ -97,4 +97,10 @@
#define GPIO2_IC GPIO_IC(GPIO2)
#define GPIO3_IC GPIO_IC(GPIO3)
+BEGIN_DECLS
+
+void gpio_set(u32 gpioport, u16 gpios);
+
+END_DECLS
+
#endif
diff --git a/lib/lpc43xx/ssp.c b/lib/lpc43xx/ssp.c
index e9cf5b0..d2b8ff1 100644
--- a/lib/lpc43xx/ssp.c
+++ b/lib/lpc43xx/ssp.c
@@ -38,6 +38,9 @@
#define CGU_AUTOBLOCK_CLOCK_BIT 11
#define CGU_BASE_CLK_SEL_SHIFT 24 /* clock source selection (5 bits) */
+/* Local declarations. */
+void ssp_wait_until_not_busy(ssp_num_t ssp_num);
+
/* Disable SSP */
void ssp_disable(ssp_num_t ssp_num)
{