Add C linkage declaration for C++ usage

This commit is contained in:
Nicolas Schodet
2012-09-02 17:12:58 +02:00
parent 11727f56c9
commit 3aab6220d8
41 changed files with 173 additions and 0 deletions

View File

@@ -69,7 +69,11 @@
#define GPIO_CR(port) MMIO32(port + 0x524)
#define GPIO_AMSEL(port) MMIO32(port + 0x528)
BEGIN_DECLS
void gpio_set(u32 gpioport, u8 gpios);
void gpio_clear(u32 gpioport, u8 gpios);
END_DECLS
#endif