diff options
author | Karl Palsson <karlp@tweak.net.au> | 2018-08-29 13:56:19 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2018-08-29 13:56:19 +0000 |
commit | 9fe684a0f488eca8d8b60c3d75e4df037773d8d8 (patch) | |
tree | a67a0d487b8e3884082c8b159b7cdb4e5f0fcfb5 /my-common-code | |
parent | 5dabebbf8c0cd9758fb7b8c5205aa130a25d77dd (diff) | |
download | stm32f103c8-examples-9fe684a0f488eca8d8b60c3d75e4df037773d8d8.tar stm32f103c8-examples-9fe684a0f488eca8d8b60c3d75e4df037773d8d8.tar.zst stm32f103c8-examples-9fe684a0f488eca8d8b60c3d75e4df037773d8d8.zip |
Add missing common code samples
Diffstat (limited to 'my-common-code')
-rw-r--r-- | my-common-code/api.c | 7 | ||||
-rw-r--r-- | my-common-code/api.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/my-common-code/api.c b/my-common-code/api.c new file mode 100644 index 0000000..ec24e0c --- /dev/null +++ b/my-common-code/api.c @@ -0,0 +1,7 @@ + +#include "api.h" + +int my_func(int a) +{ + return a * 3; +} diff --git a/my-common-code/api.h b/my-common-code/api.h new file mode 100644 index 0000000..b5a9c98 --- /dev/null +++ b/my-common-code/api.h @@ -0,0 +1 @@ +int my_func(int a); |