mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-09 02:48:38 +00:00
wacom-usb: Set the install duration for each device type
This commit is contained in:
parent
1ec05cb11f
commit
392e5aa817
@ -874,6 +874,7 @@ fu_wac_device_init (FuWacDevice *self)
|
|||||||
self->firmware_index = 0xffff;
|
self->firmware_index = 0xffff;
|
||||||
fu_device_add_icon (FU_DEVICE (self), "input-tablet");
|
fu_device_add_icon (FU_DEVICE (self), "input-tablet");
|
||||||
fu_device_add_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
fu_device_add_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||||
|
fu_device_set_install_duration (FU_DEVICE (self), 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -163,6 +163,7 @@ static void
|
|||||||
fu_wac_module_bluetooth_init (FuWacModuleBluetooth *self)
|
fu_wac_module_bluetooth_init (FuWacModuleBluetooth *self)
|
||||||
{
|
{
|
||||||
fu_device_add_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
fu_device_add_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||||
|
fu_device_set_install_duration (FU_DEVICE (self), 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -118,6 +118,7 @@ static void
|
|||||||
fu_wac_module_touch_init (FuWacModuleTouch *self)
|
fu_wac_module_touch_init (FuWacModuleTouch *self)
|
||||||
{
|
{
|
||||||
fu_device_add_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
fu_device_add_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||||
|
fu_device_set_install_duration (FU_DEVICE (self), 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user