mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 18:38:07 +00:00
goodixmoc: Fix some big/little endian support issues
Goodix driver is not working fine in BigEndian architectures. This commit fixes some of these issues. Related: #236
This commit is contained in:
committed by
Benjamin Berg
parent
3b83157e9b
commit
e0c41c5444
@@ -89,7 +89,7 @@ typedef struct _gxfp_version_info
|
||||
uint8_t interface[GX_VERSION_LEN];
|
||||
uint8_t protocol[GX_VERSION_LEN];
|
||||
uint8_t flashVersion[GX_VERSION_LEN];
|
||||
uint8_t reserved[62];
|
||||
uint8_t reserved[38];
|
||||
} gxfp_version_info_t, *pgxfp_version_info_t;
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ int gx_proto_parse_header (uint8_t *buffer,
|
||||
|
||||
int gx_proto_parse_body (uint16_t cmd,
|
||||
uint8_t *buffer,
|
||||
uint32_t buffer_len,
|
||||
uint16_t buffer_len,
|
||||
pgxfp_cmd_response_t presponse);
|
||||
|
||||
int gx_proto_init_sensor_config (pgxfp_sensor_cfg_t pconfig);
|
||||
|
||||
Reference in New Issue
Block a user