Compare commits
2 commits
eaa65b12ff
...
86abbddb60
Author | SHA1 | Date | |
---|---|---|---|
Solomon Peachy | 86abbddb60 | ||
Solomon Peachy | 8d40045692 |
|
@ -37,6 +37,9 @@
|
|||
|
||||
#include <libusb.h>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcast-qual"
|
||||
|
||||
/* For Integration into gutenprint */
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include <config.h>
|
||||
|
|
|
@ -824,7 +824,7 @@ int sinfonia_button_set(struct sinfonia_usbdev *dev, int enable)
|
|||
|
||||
if ((ret = sinfonia_docmd(dev,
|
||||
(uint8_t*)&cmd, sizeof(cmd),
|
||||
(uint8_t*)&cmd, sizeof(resp),
|
||||
(uint8_t*)&resp, sizeof(resp),
|
||||
&num))) {
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define LIBSINFONIA_VER "0.20"
|
||||
#define LIBSINFONIA_VER "0.21"
|
||||
|
||||
#define SINFONIA_HDR1_LEN 0x10
|
||||
#define SINFONIA_HDR2_LEN 0x64
|
||||
|
|
Loading…
Reference in a new issue