Commit NMU changes from Tim Retout <diocles@debian.org>
This commit is contained in:
parent
31a319d731
commit
69151f849c
8
debian/changelog
vendored
8
debian/changelog
vendored
|
@ -1,3 +1,11 @@
|
||||||
|
nut (2.4.3-1.1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Non-maintainer upload.
|
||||||
|
* drivers/libhid.c: Apply r2407 from upstream to fix bug with some
|
||||||
|
low speed UPS devices. (Closes: #583371)
|
||||||
|
|
||||||
|
-- Tim Retout <diocles@debian.org> Fri, 15 Oct 2010 19:31:39 +0100
|
||||||
|
|
||||||
nut (2.4.3-1) unstable; urgency=low
|
nut (2.4.3-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release (Closes: #544390, #528222, #539747, #526811,
|
* New upstream release (Closes: #544390, #528222, #539747, #526811,
|
||||||
|
|
|
@ -141,7 +141,7 @@ static int refresh_report_buffer(reportbuf_t *rbuf, hid_dev_handle_t udev, HIDDa
|
||||||
{
|
{
|
||||||
int id = pData->ReportID;
|
int id = pData->ReportID;
|
||||||
int r;
|
int r;
|
||||||
unsigned char buf[SMALLBUF];
|
unsigned char buf[8];
|
||||||
|
|
||||||
if (rbuf->ts[id] + age > time(NULL)) {
|
if (rbuf->ts[id] + age > time(NULL)) {
|
||||||
/* buffered report is still good; nothing to do */
|
/* buffered report is still good; nothing to do */
|
||||||
|
@ -469,7 +469,7 @@ bool_t HIDSetItemValue(hid_dev_handle_t udev, const char *hidpath, double Value,
|
||||||
*/
|
*/
|
||||||
int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize)
|
int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize)
|
||||||
{
|
{
|
||||||
unsigned char buf[SMALLBUF];
|
unsigned char buf[8];
|
||||||
int itemCount = 0;
|
int itemCount = 0;
|
||||||
int buflen, r, i;
|
int buflen, r, i;
|
||||||
HIDData_t *pData;
|
HIDData_t *pData;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user