diff --git a/api/apibasic/errorcode.cpp b/api/apibasic/errorcode.cpp index 418d680..68b614b 100644 --- a/api/apibasic/errorcode.cpp +++ b/api/apibasic/errorcode.cpp @@ -26,6 +26,8 @@ static ecode_table_item_t table[] = { ERR_ITERM(kbuffer_not_enough), ERR_ITERM(kcmd_param_num_error), ERR_ITERM(kcheckcode_is_error), + ERR_ITERM(killegal_operation), + ERR_ITERM(kmodule_opeation_break_by_user), ERR_ITERM(kmodule_not_find_reg), ERR_ITERM(kxymotor_x_find_zero_edge_fail), diff --git a/api/apibasic/errorcode.hpp b/api/apibasic/errorcode.hpp index ae6ee72..5cc9969 100644 --- a/api/apibasic/errorcode.hpp +++ b/api/apibasic/errorcode.hpp @@ -26,6 +26,7 @@ typedef enum { kbuffer_not_enough = ERROR_CODE(100, 12), kcmd_param_num_error = ERROR_CODE(100, 14), kcheckcode_is_error = ERROR_CODE(100, 15), + killegal_operation = ERROR_CODE(100, 16), /*********************************************************************************************************************** * 模块错误码 *