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> |
||
|---|---|---|
| .. | ||
| shell_dummy.h | ||
| shell_fprintf.h | ||
| shell_history.h | ||
| shell_log_backend.h | ||
| shell_rtt.h | ||
| shell_telnet.h | ||
| shell_types.h | ||
| shell_uart.h | ||
| shell.h | ||