We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d14d8e8 commit 0d7e4ddCopy full SHA for 0d7e4dd
src/utility/stm32_eth.cpp
@@ -138,11 +138,15 @@ static void Netif_Config(void)
138
*/
139
#if !defined(STM32_CORE_VERSION) || (STM32_CORE_VERSION <= 0x01060100)
140
static void scheduler_callback(stimer_t *htim)
141
-#else
+#elif (STM32_CORE_VERSION <= 0x01080000)
142
static void scheduler_callback(HardwareTimer *htim)
143
+#else
144
+static void scheduler_callback(void)
145
#endif
146
{
147
+#if (STM32_CORE_VERSION <= 0x01080000)
148
UNUSED(htim);
149
+#endif
150
stm32_eth_scheduler();
151
}
152
0 commit comments