ADD_XIUOS_FETURES change to #ifdef ADD_XIZI_FETURES
This commit is contained in:
parent
918bed7634
commit
3e687f8337
|
@ -26,7 +26,7 @@
|
|||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef ADD_XIUOS_FETURES
|
||||
#ifdef ADD_XIZI_FETURES
|
||||
# include <user_api.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ int openzigbee(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef ADD_XIUOS_FETURES
|
||||
#ifdef ADD_XIZI_FETURES
|
||||
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0)|SHELL_CMD_TYPE(SHELL_TYPE_CMD_FUNC)|SHELL_CMD_PARAM_NUM(0)|SHELL_CMD_DISABLE_RETURN, openzigbee, openzigbee, show adapter zigbee information);
|
||||
#endif
|
||||
|
||||
|
@ -143,7 +143,7 @@ int sendzigbee(int argc, char *argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
#ifdef ADD_XIUOS_FETURES
|
||||
#ifdef ADD_XIZI_FETURES
|
||||
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0)|SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN)|SHELL_CMD_PARAM_NUM(2)|SHELL_CMD_DISABLE_RETURN, sendzigbee, sendzigbee, show adapter zigbee information);
|
||||
#endif
|
||||
|
||||
|
@ -158,7 +158,7 @@ int recvzigbee(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#ifdef ADD_XIUOS_FETURES
|
||||
#ifdef ADD_XIZI_FETURES
|
||||
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0)|SHELL_CMD_TYPE(SHELL_TYPE_CMD_FUNC)|SHELL_CMD_PARAM_NUM(0)|SHELL_CMD_DISABLE_RETURN, recvzigbee, recvzigbee, show adapter zigbee information);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue