removed trailing whitespaces
This commit is contained in:
parent
e47849afe9
commit
33cd2f68b4
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ case $host in
|
||||||
*-linux*)
|
*-linux*)
|
||||||
AC_DEFINE(OS_LINUX, [], [Linux backend])
|
AC_DEFINE(OS_LINUX, [], [Linux backend])
|
||||||
AC_SUBST(OS_LINUX)
|
AC_SUBST(OS_LINUX)
|
||||||
AC_DEFINE([THREADS_POSIX], [], [Use Posix Threads])
|
AC_DEFINE([THREADS_POSIX], [], [Use Posix Threads])
|
||||||
AC_MSG_RESULT([Linux])
|
AC_MSG_RESULT([Linux])
|
||||||
backend="linux"
|
backend="linux"
|
||||||
AC_CHECK_LIB(rt, clock_gettime)
|
AC_CHECK_LIB(rt, clock_gettime)
|
||||||
|
|
|
@ -198,7 +198,7 @@ static int set_mode_async(unsigned char data)
|
||||||
|
|
||||||
if (!buf)
|
if (!buf)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
transfer = libusb_alloc_transfer(0);
|
transfer = libusb_alloc_transfer(0);
|
||||||
if (!transfer) {
|
if (!transfer) {
|
||||||
free(buf);
|
free(buf);
|
||||||
|
@ -237,7 +237,7 @@ static int do_sync_intr(unsigned char *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sync_intr(unsigned char type)
|
static int sync_intr(unsigned char type)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
unsigned char data[INTR_LENGTH];
|
unsigned char data[INTR_LENGTH];
|
||||||
|
|
||||||
|
@ -423,7 +423,7 @@ static int alloc_transfers(void)
|
||||||
img_transfer = libusb_alloc_transfer(0);
|
img_transfer = libusb_alloc_transfer(0);
|
||||||
if (!img_transfer)
|
if (!img_transfer)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
irq_transfer = libusb_alloc_transfer(0);
|
irq_transfer = libusb_alloc_transfer(0);
|
||||||
if (!irq_transfer)
|
if (!irq_transfer)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue