aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/dac.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/dac.c')
-rw-r--r--os/hal/src/dac.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/src/dac.c b/os/hal/src/dac.c
index d7843f33f..a4e0fa672 100644
--- a/os/hal/src/dac.c
+++ b/os/hal/src/dac.c
@@ -84,13 +84,15 @@ void dacObjectInit(DACDriver *dacp) {
* @brief Configures and activates the DAC peripheral.
*
* @param[in] dacp pointer to the @p DACDriver object
- * @param[in] config pointer to the @p DACConfig object
+ * @param[in] config pointer to the @p DACConfig object, it can be
+ * @p NULL if the low level driver implementation
+ * supports a default configuration
*
* @api
*/
void dacStart(DACDriver *dacp, const DACConfig *config) {
- osalDbgCheck((dacp != NULL) && (config != NULL));
+ osalDbgCheck(dacp != NULL);
osalSysLock();