We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252191a commit 42cfa29Copy full SHA for 42cfa29
1 file changed
variants/AIR32F103/F103CB/generic_clock.c …iants/AIR32F103/F103CB/generic_clock.cppvariants/AIR32F103/F103CB/generic_clock.c renamed to variants/AIR32F103/F103CB/generic_clock.cpp
@@ -13,6 +13,12 @@
13
#if defined(ARDUINO_AIR32F103CB)
14
#include "pins_arduino.h"
15
16
+constexpr void test(constexpr uint8_t a)
17
+{
18
+ constexpr uint8_t b = a;
19
+ return;
20
+}
21
+
22
/**
23
* @brief System Clock Configuration
24
* @param None
@@ -57,6 +63,7 @@ WEAK void SystemClock_Config(void)
57
63
}
58
64
#else
59
65
{
66
+ test(8);
60
67
RCC_OscInitTypeDef RCC_OscInitStruct = {};
61
68
RCC_ClkInitTypeDef RCC_ClkInitStruct = {};
62
69
0 commit comments