commit | fb653608b4a408dfea7d7e9d77fe62fad667980b | [log] [tgz] |
---|---|---|
author | Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no> | Fri Oct 09 16:27:18 2020 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Oct 14 14:12:54 2020 +0200 |
tree | 1b28a265ffef3deb25fda911a0c4812b5cbaafc0 | |
parent | ceb3c4c57633291f3429db00dd9782d8092862eb [diff] |
adc_shell: use shell to validate arguments count Use dedicated shell macros so argument count can be validated before the command handler is executed. This change simplifies the command handlers implementation inside the adc_shell file. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>