Use shell_device_get_binding() instead of device_get_binding() so that we get the device based on its name and in addition by its label. Signed-off-by: Yishai Jaffe <yishai1999@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| comparator_fake_comp.c | ||
| comparator_handlers.c | ||
| comparator_mcux_acmp.c | ||
| comparator_nrf_comp.c | ||
| comparator_nrf_lpcomp.c | ||
| comparator_shell.c | ||
| Kconfig | ||
| Kconfig.fake_comp | ||
| Kconfig.mcux_acmp | ||
| Kconfig.nrf_comp | ||
| Kconfig.nrf_lpcomp | ||
| Kconfig.shell | ||