aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish.c
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/wirish.c')
-rw-r--r--wirish/wirish.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wirish/wirish.c b/wirish/wirish.c
index c5dec22..4c84d26 100644
--- a/wirish/wirish.c
+++ b/wirish/wirish.c
@@ -47,7 +47,7 @@ void init(void) {
flash_enable_prefetch();
flash_set_latency(FLASH_WAIT_STATE_2);
-#if NR_FSMC > 0
+#ifdef STM32_HIGH_DENSITY
fsmc_native_sram_init();
#endif
@@ -70,7 +70,7 @@ void init(void) {
timer_init(TIMER2, 1);
timer_init(TIMER3, 1);
timer_init(TIMER4, 1);
-#if NR_TIMERS >= 8
+#ifdef STM32_HIGH_DENSITY
timer_init(TIMER5, 1);
timer_init(TIMER8, 1);
#endif