diff --git a/src/hidpp10.c b/src/hidpp10.c index ff278bf4..553dc438 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -1198,8 +1198,10 @@ hidpp10_onboard_profiles_parse_macro(struct hidpp10_device *device, hidpp_log_raw(&device->base, "*** macro starts at (0x%02x, 0x%04x) ***\n", page, offset); rc = hidpp10_onboard_profiles_read_macro(device, page, offset, ¯o); - if (rc) + if (rc) { + hidpp_log_raw(&device->base, "hidpp10: failed to read macro\n"); return rc; + } count = rc;