diff options
author | Attila Veghelyi <aveghelyi@dension.com> | 2024-10-16 16:58:00 +0200 |
---|---|---|
committer | Attila Veghelyi <works@veghelyiattila.hu> | 2024-10-19 10:36:02 +0200 |
commit | 0259dec75bd7b43b0d74fe90ad061f74b5177c86 (patch) | |
tree | 59be36ea7ddd37cd27ad5b4b035c72d78511938d /common_functions.h | |
parent | 14d0fa4556e81763fd2a1e8fe4870a746186595e (diff) | |
download | OpenProgrammer-master.tar.gz OpenProgrammer-master.zip |
Diffstat (limited to 'common_functions.h')
-rw-r--r-- | common_functions.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/common_functions.h b/common_functions.h index 8521dd8..5855a0a 100644 --- a/common_functions.h +++ b/common_functions.h @@ -1,17 +1,20 @@ #ifndef COMMON_FUNCTIONS_H #define COMMON_FUNCTIONS_H -extern int skipV33check=0; -extern char loadfileEE[512]="",savefileEE[512]=""; -extern int vid=0x1209,pid=0x5432; -extern int DeviceDetected=0; -extern int new_vid=0x1209,new_pid=0x5432; -extern int old_vid=0x04D8,old_pid=0x0100; +extern int skipV33check; +extern int vid,pid; +extern int DeviceDetected; +static const int new_vid=0x1209,new_pid=0x5432; +static const int old_vid=0x04D8,old_pid=0x0100; #if !defined _WIN32 && !defined __CYGWIN__ //Linux - extern char path[512]=""; + extern char path[512]; #endif #ifdef OPGUI - extern GtkWidget * b_V33check; + extern GtkWidget* b_V33check; #endif +extern char str[4096]; + +void ProgID(void); +int CheckS1(void); #endif // COMMON_FUNCTIONS_H |