sketch: default VPP for non-Atmel chips set as 12V

Also, the defaults are used if no PES check is requested.
This commit is contained in:
ole00 2023-03-30 22:58:51 +01:00
parent 7d332acae6
commit 8d12ec9e58
1 changed files with 2 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@ static void setGalDefaults(void) {
} else {
progtime = 80;
erasetime = 80;
vpp = 44; /* 11V */
vpp = 48; /* 12V */
}
}
@ -1958,6 +1958,7 @@ static void testVoltage(int seconds) {
static char doTypeCheck(void) {
if (0 == flagBits & FLAG_BIT_TYPE_CHECK) {
setGalDefaults();
return 1; // no need to do type check
}
readPes();