aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f1/desig.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-09-10 12:21:21 -0700
committerPiotr Esden-Tempski2012-09-10 12:21:21 -0700
commit02ea612142fb93d43698b10502a05f6ccd2ec781 (patch)
tree575f5a1be19a9c5133fcd9d0593ad7bb60c99f34 /include/libopencm3/stm32/f1/desig.h
parent9af50d6e5cf0681b276438acfd92c9975290f1b2 (diff)
parent5ad8f26ede984cbf820707a11e1ddbc8ea52d06b (diff)
Merge pull request #25 "Add support for C++ and fix some comments typo"
Merge remote-tracking branch 'schodet/master' Conflicts: include/libopencm3/stm32/f1/adc.h
Diffstat (limited to 'include/libopencm3/stm32/f1/desig.h')
-rw-r--r--include/libopencm3/stm32/f1/desig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/f1/desig.h b/include/libopencm3/stm32/f1/desig.h
index 743e946..74cfb35 100644
--- a/include/libopencm3/stm32/f1/desig.h
+++ b/include/libopencm3/stm32/f1/desig.h
@@ -36,6 +36,8 @@
#define DESIG_UID_63_32 MMIO32(DESIG_UNIQUE_ID_BASE + 0x04)
#define DESIG_UID_95_64 MMIO32(DESIG_UNIQUE_ID_BASE + 0x08)
+BEGIN_DECLS
+
/**
* Read the onboard flash size
* @return flash size in KB
@@ -49,4 +51,6 @@ u16 desig_get_flash_size(void);
*/
void desig_get_unique_id(u32 result[]);
+END_DECLS
+
#endif