summaryrefslogtreecommitdiffstats
path: root/op.c
diff options
context:
space:
mode:
authorAttila Veghelyi <aveghelyi@dension.com>2024-10-16 16:58:00 +0200
committerAttila Veghelyi <works@veghelyiattila.hu>2024-10-19 10:36:02 +0200
commit0259dec75bd7b43b0d74fe90ad061f74b5177c86 (patch)
tree59be36ea7ddd37cd27ad5b4b035c72d78511938d /op.c
parent14d0fa4556e81763fd2a1e8fe4870a746186595e (diff)
downloadOpenProgrammer-0259dec75bd7b43b0d74fe90ad061f74b5177c86.tar.gz
OpenProgrammer-0259dec75bd7b43b0d74fe90ad061f74b5177c86.zip
Use common functions from one fileHEADmaster
Diffstat (limited to 'op.c')
-rw-r--r--op.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/op.c b/op.c
index bc32f94..032e068 100644
--- a/op.c
+++ b/op.c
@@ -47,9 +47,6 @@ int kbhit()
#include "conio.h"
#endif
-int info=0;
-int devType=0x10000;
-char dev[64]="";
void msDelay(double delay);
void TestHw();
@@ -57,6 +54,13 @@ int StartHVReg(double V);
void DisplayEE();
int FindDevice();
+char loadfileEE[512]="",savefileEE[512]="";
+int info=0;
+int vid=0x1209,pid=0x5432;
+int DeviceDetected=0;
+int skipV33check=0;
+char dev[64]="";
+int devType=0x10000;
int main (int argc, char **argv) {