X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstlink-sg.h;h=7c020285176283602885d285bf38e7e13eef8d98;hb=7a9a582dd8fc631976128aff61c19241ddc5b3e7;hp=f8871db99a8c855c6e3f283a3c1f6c263c5d761c;hpb=22cb598c6f346d67cc60e8c168b32502104f061f;p=fw%2Fstlink diff --git a/src/stlink-sg.h b/src/stlink-sg.h index f8871db..7c02028 100644 --- a/src/stlink-sg.h +++ b/src/stlink-sg.h @@ -1,4 +1,4 @@ -/* +/* * File: stlink-sg.h * Author: karl * @@ -11,11 +11,11 @@ #ifdef __cplusplus extern "C" { #endif - + #include #include "stlink-common.h" - - // device access + + // device access #define RDWR 0 #define RO 1 #define SG_TIMEOUT_SEC 1 // actually 1 is about 2 sec @@ -46,7 +46,7 @@ extern "C" { libusb_device_handle *usb_handle; unsigned ep_rep; unsigned ep_req; - + int sg_fd; int do_scsi_pt_err;