mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
etekcity: remove magic constant
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
This commit is contained in:
@@ -579,7 +579,7 @@ etekcity_write_profile(struct ratbag_profile *profile)
|
||||
|
||||
msleep(100);
|
||||
|
||||
if (rc < 50)
|
||||
if (rc < ETEKCITY_REPORT_SIZE_PROFILE)
|
||||
return -EIO;
|
||||
|
||||
log_raw(device->ratbag, "profile: %d written %s:%d\n",
|
||||
|
||||
Reference in New Issue
Block a user