[size=11.818181991577148px]在USB HOST V2.1库里 移植正点原子综合实验里游戏手柄部分时,遇到标识符未定义的情况
[size=11.818181991577148px]else if(pphost->device_prop.Itf_Desc[0].bInterfaceSubClass==0X00)//自定义HID设备
[size=11.818181991577148px]{
[size=11.818181991577148px]//自定义协议,支持游戏手柄
[size=11.818181991577148px]if(pphost->device_prop.Itf_Desc[0].bInterfaceProtocol == 0X00)
[size=11.818181991577148px]{
[size=11.818181991577148px]HID_Machine.cb = [size=11.818181991577148px]&HID_GAMEPAD_cb[size=11.818181991577148px];//游戏手柄
[size=11.818181991577148px]}
[size=11.818181991577148px]红色部分编译时显示标识符未定义
[size=11.818181991577148px]选中、右键 可以跳到它定义的部分
[size=11.818181991577148px]没弄明白什么情况?
|