小编Lay*_*CCC的帖子

bDescriptorType 是 0x24 是什么意思?

我找到了一个描述符,如下所示。
据我所知,当 bDescriptorType 为 0x04 时,表示接口描述符。
如果 bDescriptorType 是 0x24,那是什么意思?
我在 USB 规范 2.0 中找不到相关描述。

/*  First Interface Descriptor For Comm Class Interface */
0x09,                  /*  bLength = 9                     */
0x04,                  /*  bDescriptorType = Interface (4) */
0x00,                  /*  bInterfaceNumber                */
0x00,                  /*  bAlternateSetting               */
0x01,                  /*  bNumEndpoints (one for OUT)     */
0x02,                  /*  bInterfaceClass = Communications Interface Class (2) */
0x02,                  /*  bInterfaceSubClass = Abstract Control Model (2) */
0x01,                  /*  bInterfaceProtocol = Common "AT" commands (1), */ 
                      /* …
Run Code Online (Sandbox Code Playgroud)

usb

5
推荐指数
1
解决办法
5035
查看次数

Git推送错误:与您的用户帐户不匹配

我执行了以下命令:

git pull <partner_remote> <partner_branch>
git config user.email <my_email>
git config user.name <my_name>
git commit --amend --reset-author
git push <my_remote> HEAD:refs/for/<my_branch>
Run Code Online (Sandbox Code Playgroud)

但是在“ git push”之后出现了以下错误:

remote: ERROR:  In commit b6b74fff7850c4b61a5535519959b1ab58ca6fa9
remote: ERROR:  committer email address aaa@aaa
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  The following addresses are currently registered:
remote: ERROR:    bbb@bbb
remote: ERROR:
remote: ERROR:  To register an email address, please visit:
remote: ERROR:  http://xxxxxxxx
Run Code Online (Sandbox Code Playgroud)

我不知道如何解决它。

git gerrit

5
推荐指数
3
解决办法
1万
查看次数

标签 统计

gerrit ×1

git ×1

usb ×1