summaryrefslogtreecommitdiff
path: root/ucoolib
diff options
context:
space:
mode:
Diffstat (limited to 'ucoolib')
-rw-r--r--ucoolib/hal/uart/uart.hh2
-rw-r--r--ucoolib/hal/usb/usb.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucoolib/hal/uart/uart.hh b/ucoolib/hal/uart/uart.hh
index 86238a5..b5ed4df 100644
--- a/ucoolib/hal/uart/uart.hh
+++ b/ucoolib/hal/uart/uart.hh
@@ -24,7 +24,7 @@
//
// }}}
-#ifdef TARGET_SUB_stm32
+#ifdef TARGET_stm32
# include "uart.stm32.hh"
#else
# error "not implemented for this target"
diff --git a/ucoolib/hal/usb/usb.hh b/ucoolib/hal/usb/usb.hh
index c05b7a0..05e89d7 100644
--- a/ucoolib/hal/usb/usb.hh
+++ b/ucoolib/hal/usb/usb.hh
@@ -24,7 +24,7 @@
//
// }}}
-#ifdef TARGET_SUB_stm32
+#ifdef TARGET_stm32
# include "usb.stm32.hh"
#else
# error "not implemented for this target"