From 43bbd7c80a69f6d1b40f0baff36d48b3f0c52c8f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 2 May 2015 09:11:13 +0000 Subject: Changes to the DAC driver, not tested yet. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7935 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/dac.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'os/hal/src') 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(); -- cgit v1.2.3