summaryrefslogtreecommitdiffstats
path: root/common_functions.c
diff options
context:
space:
mode:
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)
}
}