From 0259dec75bd7b43b0d74fe90ad061f74b5177c86 Mon Sep 17 00:00:00 2001 From: Attila Veghelyi Date: Wed, 16 Oct 2024 16:58:00 +0200 Subject: Use common functions from one file --- op.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'op.c') 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) { -- cgit v1.2.3-54-g00ecf