Skip to content

Commit

Permalink
Change chip detect to use specified vcc value
Browse files Browse the repository at this point in the history
  • Loading branch information
djask committed Feb 18, 2023
1 parent 25d9b28 commit ccf0b30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions project.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,9 +1286,7 @@ CHIP_INFO GetFirstDetectionMatch(char* TypeName, int Index)
g_Vcc = g_Vcc_temp;
break;
}
if (Loop == 1)
g_Vcc = vcc3_5V;
else
if (Loop != 1)
g_Vcc = vcc1_8V - i;

TurnONVcc(Index);
Expand Down

0 comments on commit ccf0b30

Please sign in to comment.