Home
last modified time | relevance | path

Searched refs:dynamic_cmd_cnt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/subsys/shell/shell_module/src/
Ddynamic_cmd.c18 static uint8_t dynamic_cmd_cnt; variable
37 if (dynamic_cmd_cnt >= MAX_CMD_CNT) { in cmd_dynamic_add()
65 sprintf(dynamic_cmd_buffer[dynamic_cmd_cnt++], "%s", argv[1]); in cmd_dynamic_add()
67 qsort(dynamic_cmd_buffer, dynamic_cmd_cnt, in cmd_dynamic_add()
81 for (uint8_t idx = 0; idx < dynamic_cmd_cnt; idx++) { in cmd_dynamic_execute()
99 for (uint8_t idx = 0; idx < dynamic_cmd_cnt; idx++) { in cmd_dynamic_remove()
107 (dynamic_cmd_cnt - idx)); in cmd_dynamic_remove()
110 --dynamic_cmd_cnt; in cmd_dynamic_remove()
126 if (dynamic_cmd_cnt == 0U) { in cmd_dynamic_show()
133 for (uint8_t i = 0; i < dynamic_cmd_cnt; i++) { in cmd_dynamic_show()
[all …]
/Zephyr-latest/doc/services/shell/
Dindex.rst351 static uint8_t dynamic_cmd_cnt;
359 if (idx < dynamic_cmd_cnt) {