STM32F1: various small changes

- init the led pin as output (like other HALs)
- reduce sdio dma priority to normal.. highest is never the best...
- allow fsmc only on compatible STM32F1 (like HAL fsmc)
- fsmc: remove an useless C style cast
This commit is contained in:
Tanguy Pruvot
2019-06-17 10:16:23 +02:00
parent 66d51272af
commit 287df7a61f
5 changed files with 11 additions and 10 deletions

View File

@@ -34,7 +34,7 @@
#include "watchdog_STM32F1.h"
void watchdog_reset() {
#if PIN_EXISTS(LED)
#if DISABLED(PINS_DEBUGGING) && PIN_EXISTS(LED)
TOGGLE(LED_PIN); // heartbeat indicator
#endif
iwdg_feed();