diff options
Diffstat (limited to 'opgui.c')
-rw-r--r-- | opgui.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -29,7 +29,6 @@ #include "deviceRW.h" #include "fileIO.h" #include "progAVR.h" -#include <string.h> #define MAXLINES 600 #define CONFIG_FILE "opgui.ini" @@ -44,6 +43,13 @@ void PrintMessageI2C(const char *msg); void ShowContext(); int FindDevice(int vid,int pid); void TestHw(); +int cmdline=0; +int vid=0x1209,pid=0x5432; +int DeviceDetected=0; +int IOTimer=0; +int skipV33check=0; +int waitS1=0,waitingS1=0; +int progress=0; #ifdef DEBUG int addrDebug=0; @@ -105,6 +111,7 @@ GtkWidget * VDD_ON; GtkWidget * b_io_active; GtkWidget * commandSend; GtkWidget * commandTransfer; +GtkWidget * b_V33check; GtkWidget * Hex_entry; GtkWidget * Address_entry; GtkWidget * Data_entry; @@ -151,7 +158,6 @@ int ee = 0; int readRes=0; char dev[64]=""; int devType=-1; -char str[4096]=""; char* cur_path=0; char* cur_pathEE=0; enum dev_column_t { @@ -176,11 +182,6 @@ char *groupNames[NUM_GROUPS] = { }; char *GROUP_ALL="*"; -int progress=0; -int waitS1=0,waitingS1=0; -int IOTimer=0; -int cmdline=0; - /// ///Exit gint delete_event( GtkWidget *widget,GdkEvent *event,gpointer data ) |