diff --git a/src/hidpp10.c b/src/hidpp10.c index e98be716..2d22670d 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -523,6 +523,8 @@ hidpp10_get_profile(struct hidpp10_device *dev, int8_t number, struct hidpp10_pr } } + *profile_return = profile; + return 0; }