aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/include
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/include')
-rw-r--r--wirish/include/wirish/HardwareTimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/include/wirish/HardwareTimer.h b/wirish/include/wirish/HardwareTimer.h
index bdcca5d..d322033 100644
--- a/wirish/include/wirish/HardwareTimer.h
+++ b/wirish/include/wirish/HardwareTimer.h
@@ -313,7 +313,7 @@ extern HardwareTimer Timer3;
* Pre-instantiated timer.
*/
extern HardwareTimer Timer4;
-#ifdef STM32_HIGH_DENSITY
+#if (STM32_MCU_SERIES == STM32_SERIES_F1) && defined(STM32_HIGH_DENSITY)
/**
* @brief Deprecated.
*