Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisin Dmitriy <d.lisin@thirdpin.ru>2019-02-12 15:56:33 +0300
committerLisin Dmitriy <d.lisin@thirdpin.ru>2019-02-12 15:56:33 +0300
commit05f9e9efe7f758201e869e295d03e1d9bf097c40 (patch)
tree6501767a146ef52598e3629c45cde096bd4f7af6
parent38da8958f7b16ca5e04a396f2cf4b44813624257 (diff)
IMPR: Prevent warning about a redefining
-rw-r--r--cm3cpp_systick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm3cpp_systick.cpp b/cm3cpp_systick.cpp
index 39fb781..2b42de5 100644
--- a/cm3cpp_systick.cpp
+++ b/cm3cpp_systick.cpp
@@ -34,9 +34,9 @@ SYSTICK implementation, public interface
#define CM3CPP_INT_SOURCE __INT_SOURCE(CM3CPP_TIMER_N)
#define CM3CPP_INT_SOURCE_RCC __RCC(CM3CPP_TIMER_N)
-#define CM3CPP_SYSTICK_INT_FUNC __SYSTICK_INT_FUNC(CM3CPP_TIMER_N)
#if CM3CPP_ENABLE_CUSTOM_SYSTICK_SOURCE == 1
+#define CM3CPP_SYSTICK_INT_FUNC __SYSTICK_INT_FUNC(CM3CPP_TIMER_N)
extern "C" {
void CM3CPP_SYSTICK_INT_FUNC(void);
}