mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-14 20:00:23 +00:00

Quite a few plugins use HID commands to communicate with the hardware. At the mement we have ~6 implementations of SET_REPORT and are soon to add one more. Move this into common code.
15 lines
361 B
C
15 lines
361 B
C
/*
|
|
* Copyright (C) 2018 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-hid-device.h"
|
|
|
|
#define FU_TYPE_RTS54HID_DEVICE (fu_rts54hid_device_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuRts54HidDevice, fu_rts54hid_device, FU, RTS54HID_DEVICE, FuHidDevice)
|
|
|
|
#define FU_RTS54HID_DEVICE_TIMEOUT 1000 /* ms */
|