mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-26 03:49:18 +00:00
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:
parent
7d332acae6
commit
8d12ec9e58
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user