添加广播方式升级
This commit is contained in:
@@ -80,7 +80,7 @@ typedef struct
|
||||
} handlepc_def;
|
||||
|
||||
#define protpc_export(cmd_, fun_) \
|
||||
__attribute__((used)) static handlepc_def _handlepc_##name_ __attribute__((section("protpc"))) = { \
|
||||
__attribute__((used)) static handlepc_def _handlepc_##cmd_ __attribute__((section("protpc"))) = { \
|
||||
.cmd = cmd_, \
|
||||
.handle_get_fun = fun_, \
|
||||
}
|
||||
|
Reference in New Issue
Block a user