aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/ports/STM32/LLD/DACv1/dac_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/DACv1/dac_lld.c b/os/hal/ports/STM32/LLD/DACv1/dac_lld.c
index 197bf855f..6015c176c 100644
--- a/os/hal/ports/STM32/LLD/DACv1/dac_lld.c
+++ b/os/hal/ports/STM32/LLD/DACv1/dac_lld.c
@@ -348,7 +348,7 @@ void dac_lld_put_channel(DACDriver *dacp,
}
break;
default:
- chDbgAssert(false, "unexpected DAC mode");
+ osalDbgAssert(false, "unexpected DAC mode");
break;
}
}
@@ -436,7 +436,7 @@ void dac_lld_start_conversion(DACDriver *dacp) {
break;
#endif
default:
- chDbgAssert(false, "unexpected DAC mode");
+ osalDbgAssert(false, "unexpected DAC mode");
return;
}