diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-02 09:11:13 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-02 09:11:13 +0000 |
commit | 43bbd7c80a69f6d1b40f0baff36d48b3f0c52c8f (patch) | |
tree | 91d5ae1500166a70c62947baf7693e7001aece1c /os/hal/src | |
parent | f112ffa1e6e4a2e3bc3c6754f2e6ed7de030c12f (diff) | |
download | ChibiOS-43bbd7c80a69f6d1b40f0baff36d48b3f0c52c8f.tar.gz ChibiOS-43bbd7c80a69f6d1b40f0baff36d48b3f0c52c8f.tar.bz2 ChibiOS-43bbd7c80a69f6d1b40f0baff36d48b3f0c52c8f.zip |
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
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/dac.c | 6 |
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();
|