OpenBIC
OpenSource Bridge-IC
|
#include <shell/shell.h>
#include <stdlib.h>
#include <logging/log.h>
#include "sensor.h"
#include "plat_hook.h"
#include "plat_class.h"
Functions | |
LOG_MODULE_REGISTER (plat_perm_config_shell, LOG_LEVEL_DBG) | |
SHELL_STATIC_SUBCMD_SET_CREATE (sub_perm_config_cmds, SHELL_CMD(get, NULL, "get perm_config", cmd_perm_config_get), SHELL_CMD(clear, NULL, "clear perm_config", cmd_perm_config_clear), SHELL_SUBCMD_SET_END) | |
SHELL_CMD_REGISTER (perm_config, &sub_perm_config_cmds, "perm_config get/clear commands", NULL) | |
LOG_MODULE_REGISTER | ( | plat_perm_config_shell | , |
LOG_LEVEL_DBG | |||
) |
SHELL_CMD_REGISTER | ( | perm_config | , |
& | sub_perm_config_cmds, | ||
"perm_config get/clear commands" | , | ||
NULL | |||
) |
SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_perm_config_cmds | , |
SHELL_CMD(get, NULL, "get perm_config", cmd_perm_config_get) | , | ||
SHELL_CMD(clear, NULL, "clear perm_config", cmd_perm_config_clear) | , | ||
SHELL_SUBCMD_SET_END | |||
) |