We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c40123 commit 2f0fa58Copy full SHA for 2f0fa58
1 file changed
cores/arduino/stm32/hal_uart_emul.h
@@ -40,7 +40,7 @@
40
#ifndef __HAL_UART_EMUL_H
41
#define __HAL_UART_EMUL_H
42
43
-#if defined(TIM1_BASE)
+#if defined(TIM1_BASE) && defined(UART_EMUL_RX) && defined(UART_EMUL_TX)
44
#ifdef __cplusplus
45
extern "C" {
46
#endif
0 commit comments