Skip to content

Commit

Permalink
Corrected SetChipSetting isValatile cmd, 1->0 (thanks again George K.…
Browse files Browse the repository at this point in the history
… Watson)
  • Loading branch information
kerrydwong committed May 28, 2013
1 parent 3523914 commit cd43893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcp2210.cpp
Expand Up @@ -177,7 +177,7 @@ int SetChipSettings(hid_device *handle, ChipSettingsDef def, bool isVolatile) {
memset(rsp, 0x0, RESPONSE_BUFFER_LENGTH);

if (isVolatile) {
cmd[1] = CMD_SET_GPIO_SETTING;
cmd[0] = CMD_SET_GPIO_SETTING;
} else {
cmd[0] = CMD_SET_NVRAM_PARAM;
cmd[1] = CMDSUB_POWERUP_CHIP_SETTINGS;
Expand Down

0 comments on commit cd43893

Please sign in to comment.