summaryrefslogtreecommitdiffstats
path: root/common_functions.c
diff options
context:
space:
mode:
authorAttila Veghelyi <works@veghelyiattila.hu>2025-06-09 17:25:22 +0200
committerAttila Veghelyi <works@veghelyiattila.hu>2025-06-09 17:25:22 +0200
commita047db1259d3822b554d300ecc48fb2052bfc849 (patch)
tree87f05bec0b981ab40b24cd887d860b66cad57bd1 /common_functions.c
parent0259dec75bd7b43b0d74fe90ad061f74b5177c86 (diff)
downloadOpenProgrammer-a047db1259d3822b554d300ecc48fb2052bfc849.tar.gz
OpenProgrammer-a047db1259d3822b554d300ecc48fb2052bfc849.zip
Follow version 0.12.4HEADmaster
Diffstat (limited to 'common_functions.c')
-rw-r--r--common_functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common_functions.c b/common_functions.c
index 2c042cb..f8528d8 100644
--- a/common_functions.c
+++ b/common_functions.c
@@ -28,7 +28,7 @@ char loadfile[512]="",savefile[512]="";
char CoffFileName[512]="";
WORD *memCODE_W=0;
int size=0,sizeW=0,sizeEE=0,sizeCONFIG=0,sizeUSERID=0;
-unsigned char *memCODE=0,*memEE=0,memID[64],memCONFIG[48],memUSERID[8];
+unsigned char *memCODE=0,*memEE=0,memID[512],memCONFIG[48],memUSERID[8];
double hvreg=0;
int RWstop=0;
int forceConfig=0;
@@ -215,7 +215,7 @@ int CheckS1()
return i?1:0; //A7=1 when switch pressed (active high)
}
else { //std board
- i=bufferI[j+3]&0x8; //i=E3
+ i=bufferI[j+3]&0x8; //i=E3
return i?0:1; //S1 open -> E3=1 (active low)
}
}