commit | 9fe21461f8538822aa935f0f28ce82574acb5a20 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Wed Mar 09 20:26:56 2022 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Mar 11 10:59:18 2022 +0100 |
tree | 695cb23ff2360e25c2aef22a3f99732ef7ff77b7 | |
parent | 61bef2087fe8c04ae18280f453361c122162cfc1 [diff] |
doc: reference: canbus: use DEVICE_DT_GET for the samples Use DEVICE_DT_GET instead of device_get_binding on the samples. Also, use the zephyr,canbus chosen device. Note that check for readiness has not been added as previous code did not check for NULL either. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>