diff --git a/drivers/usbhid-ups.c b/drivers/usbhid-ups.c index 0577b9c..ec0d9e2 100644 --- a/drivers/usbhid-ups.c +++ b/drivers/usbhid-ups.c @@ -943,8 +943,10 @@ void upsdrv_updateinfo(void) alarm_init(); - if (hid_ups_walk(HU_WALKMODE_FULL_UPDATE) == FALSE) + if (hid_ups_walk(HU_WALKMODE_FULL_UPDATE) == FALSE) { + upsdebugx(1, "Boom..."); return; + } lastpoll = now; data_has_changed = FALSE;