From 1edb02101a9306fc711cd422ed507d18165b1691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 15 Jul 2017 11:25:39 +0200 Subject: move from support/1.0.27 to feature/1.0.27 --- backend/hp5400_internal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backend/hp5400_internal.c') diff --git a/backend/hp5400_internal.c b/backend/hp5400_internal.c index d7e2325..65a434f 100644 --- a/backend/hp5400_internal.c +++ b/backend/hp5400_internal.c @@ -282,7 +282,9 @@ SetCalibration (int iHandle, int numPixels, unsigned int *low_vals[3], cmd[3] = 0x00; cmd[4] = 0x54; cmd[5] = 0x02; - cmd[6] = 0x80; + cmd[6] = -128; // 0x80; fixes compiler warning (for + // signed char implementations), see + // also comment above cmd[7] = 0x00; hp5400_bulk_command_write (iHandle, 0xE603, cmd, 8, calSize, calSize, -- cgit v1.2.3