From 33208b835942f13bae8c20306d42df245973b67d Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Tue, 13 Jun 2023 14:59:29 +0200 Subject: [PATCH] Add definitions --- src/uniwill_interfaces.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uniwill_interfaces.h b/src/uniwill_interfaces.h index 628cf04..bb8b80c 100644 --- a/src/uniwill_interfaces.h +++ b/src/uniwill_interfaces.h @@ -36,6 +36,7 @@ #define UNIWILL_INTERFACE_WMI_STRID "uniwill_wmi" typedef int (uniwill_read_ec_ram_t)(u16, u8*); +typedef int (uniwill_read_ec_ram_with_retry_t)(u16, u8*, int); typedef int (uniwill_write_ec_ram_t)(u16, u8); typedef int (uniwill_write_ec_ram_with_retry_t)(u16, u8, int); typedef void (uniwill_event_callb_t)(u32); @@ -86,6 +87,7 @@ int uniwill_remove_interface(struct uniwill_interface_t *interface); uniwill_read_ec_ram_t uniwill_read_ec_ram; uniwill_write_ec_ram_t uniwill_write_ec_ram; uniwill_write_ec_ram_with_retry_t uniwill_write_ec_ram_with_retry; +uniwill_read_ec_ram_with_retry_t uniwill_read_ec_ram_with_retry; int uniwill_get_active_interface_id(char **id_str); #define UW_MODEL_PF5LUXG 0x09