forked from xuos/xiuos
feat add control device struct in control framework
This commit is contained in:
@@ -62,6 +62,15 @@ typedef enum
|
||||
CONTROL_UNREGISTERED,
|
||||
}ProtocolStatus;
|
||||
|
||||
struct ControlDevice
|
||||
{
|
||||
char *dev_name;
|
||||
int status;
|
||||
|
||||
//to do
|
||||
void *dev_done;
|
||||
};
|
||||
|
||||
struct ControlProtocol
|
||||
{
|
||||
char *name;
|
||||
@@ -70,6 +79,7 @@ struct ControlProtocol
|
||||
|
||||
struct ControlRecipe *recipe;
|
||||
struct ControlDone *done;
|
||||
struct ControlDevice *device;
|
||||
|
||||
void *args;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user