zephyr/include/shell
Peter Bigot a538dcd8f8 shell: refactor device_name_get implementation
Several shell modules use cloned code to iterate over all devices and
identify the nth instance that meets some criteria.  The code was
repetitive and included various errors.  Abstract to a helper function
that performs the check consistently.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-06-23 13:27:14 +02:00
..
shell_dummy.h shell: Extend dummy backend to record for testing 2020-05-07 10:04:28 +02:00
shell_fprintf.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_history.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_log_backend.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_rtt.h
shell_telnet.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_types.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_uart.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell.h shell: refactor device_name_get implementation 2020-06-23 13:27:14 +02:00