diff options
-rw-r--r-- | device-functions.c | 8 | ||||
-rw-r--r-- | globals.c | 8 | ||||
-rw-r--r-- | globals.h | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/device-functions.c b/device-functions.c index 26feef9..e86a28d 100644 --- a/device-functions.c +++ b/device-functions.c @@ -9,10 +9,10 @@ void idn_string(gchar** response); /*----------------------------------------------------------------------------------------------------------*/ void idn_string(gchar** response) { - *response = g_strdup_printf ("AVTECH ELECTROSYSTEMS,%s,%s,%s", - globals.Flash.model_num, - globals.Flash.serial_num, - FW_VERSION); + *response = g_strdup_printf ("AVTECH ELECTROSYSTEMS,%s,%s,%s", + globals.Flash.model_num, + globals.Flash.serial_num, + FW_VERSION); } @@ -4,9 +4,9 @@ GlobalStruct globals = { .error_queue = {0}, .number_of_errors = 0, .Flash.fully_programmed = Not_Programmed, - .extended_ampl_min_max = 0, - .do_check_settings = 1, - .oper_enable_register = 0, - .ques_enable_register = 0, + .extended_ampl_min_max = 0, + .do_check_settings = 1, + .oper_enable_register = 0, + .ques_enable_register = 0, .flash_writes_suspended = 0 }; @@ -586,8 +586,8 @@ typedef struct { ConstraintsStruct Constraints; ChannelStruct ChannelState[max_channels]; FlashStruct Flash; - GpibStruct GPIB; - Rs232Struct RS232; + GpibStruct GPIB; + Rs232Struct RS232; int error_queue[error_queue_length+1]; int number_of_errors; /* how many errors are in the error queue */ |