From 6f29fe62b1a04749e5b221319d3cc0db2cdfbcf4 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sun, 2 Apr 2017 16:48:50 -0300 Subject: [PATCH] Fix for Arduino 1.6 compilation error --- system_stm32f1xx/system_stm32f1xx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system_stm32f1xx/system_stm32f1xx.c b/system_stm32f1xx/system_stm32f1xx.c index fa46661..dd6c344 100644 --- a/system_stm32f1xx/system_stm32f1xx.c +++ b/system_stm32f1xx/system_stm32f1xx.c @@ -84,6 +84,7 @@ * ****************************************************************************** */ +#if !defined(ARDUINO) /** @addtogroup CMSIS * @{ @@ -220,6 +221,7 @@ static void SetSysClock(void) /** * @} */ - + +#endif /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/