summaryrefslogtreecommitdiff
path: root/backend/sm3840_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/sm3840_lib.h')
-rw-r--r--backend/sm3840_lib.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/backend/sm3840_lib.h b/backend/sm3840_lib.h
index cbbc6d3..5630066 100644
--- a/backend/sm3840_lib.h
+++ b/backend/sm3840_lib.h
@@ -81,9 +81,8 @@ static int my_usb_control_msg (p_usb_dev_handle dev, int requesttype,
#include "sm3840_params.h"
static void idle_ab (p_usb_dev_handle udev);
-static void write_regs (p_usb_dev_handle udev, int regs, unsigned char reg1,
- unsigned char val1,
- ... /*unsigned char reg, unsigned char val, ... */ );
+static void write_regs (p_usb_dev_handle udev, int regs, int reg1, int val1,
+ ... /* int reg, int val, ... */ );
static int write_vctl (p_usb_dev_handle udev, int request, int value,
int index, unsigned char byte);
static int read_vctl (p_usb_dev_handle udev, int request, int value,
@@ -122,9 +121,8 @@ static void set_gain_black (p_usb_dev_handle udev,
int r_black, int g_black, int b_black);
static void idle_ab (p_usb_dev_handle udev);
-static void write_regs (p_usb_dev_handle udev, int regs, unsigned char reg1,
- unsigned char val1,
- ... /*unsigned char reg, unsigned char val, ... */ );
+static void write_regs (p_usb_dev_handle udev, int regs, int reg1, int val1,
+ ... /* int reg, int val, ... */ );
static int write_vctl (p_usb_dev_handle udev, int request, int value,
int index, unsigned char byte);
static int read_vctl (p_usb_dev_handle udev, int request, int value,