aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/can.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/can.c')
-rw-r--r--os/hal/src/can.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/src/can.c b/os/hal/src/can.c
index f389380ea..22f816e73 100644
--- a/os/hal/src/can.c
+++ b/os/hal/src/can.c
@@ -88,13 +88,14 @@ void canObjectInit(CANDriver *canp) {
* complete.
*
* @param[in] canp pointer to the @p CANDriver object
- * @param[in] config pointer to the @p CANConfig object
+ * @param[in] config pointer to the @p CANConfig object. Depending on
+ * the implementation the value can be @p NULL.
*
* @api
*/
void canStart(CANDriver *canp, const CANConfig *config) {
- chDbgCheck((canp != NULL) && (config != NULL), "canStart");
+ chDbgCheck(canp != NULL, "canStart");
chSysLock();
chDbgAssert((canp->cd_state == CAN_STOP) ||