projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stlink-common: Update STM32L0 and STM32L1 loader ABI
[fw/stlink]
/
src
/
stlink-sg.h
diff --git
a/src/stlink-sg.h
b/src/stlink-sg.h
index f8871db99a8c855c6e3f283a3c1f6c263c5d761c..7c020285176283602885d285bf38e7e13eef8d98 100644
(file)
--- a/
src/stlink-sg.h
+++ b/
src/stlink-sg.h
@@
-1,4
+1,4
@@
-/*
+/*
* File: stlink-sg.h
* Author: karl
*
* File: stlink-sg.h
* Author: karl
*
@@
-11,11
+11,11
@@
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-
+
#include <libusb.h>
#include "stlink-common.h"
#include <libusb.h>
#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
#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;
libusb_device_handle *usb_handle;
unsigned ep_rep;
unsigned ep_req;
-
+
int sg_fd;
int do_scsi_pt_err;
int sg_fd;
int do_scsi_pt_err;