aesx660: fix spelling of define name
This commit is contained in:
parent
79d79c3c87
commit
82ae7c1c09
2 changed files with 2 additions and 2 deletions
|
@ -355,7 +355,7 @@ static void capture_read_stripe_data_cb(struct libusb_transfer *transfer)
|
|||
if (aesdev->buffer_size == aesdev->buffer_max) {
|
||||
if (aesdev->buffer_max == AESX660_HEADER_SIZE) {
|
||||
aesdev->buffer_max = aesdev->buffer[AESX660_RESPONSE_SIZE_LSB_OFFSET] +
|
||||
(aesdev->buffer[AESX660_RESPONSE_SIZE_MSB_OFFSEt] << 8) + AESX660_HEADER_SIZE;
|
||||
(aesdev->buffer[AESX660_RESPONSE_SIZE_MSB_OFFSET] << 8) + AESX660_HEADER_SIZE;
|
||||
fp_dbg("Got frame, type %.2x size %.4x",
|
||||
aesdev->buffer[AESX660_RESPONSE_TYPE_OFFSET],
|
||||
aesdev->buffer_max);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define AESX660_HEADER_SIZE 3
|
||||
#define AESX660_RESPONSE_TYPE_OFFSET 0x00
|
||||
#define AESX660_RESPONSE_SIZE_LSB_OFFSET 0x01
|
||||
#define AESX660_RESPONSE_SIZE_MSB_OFFSEt 0x02
|
||||
#define AESX660_RESPONSE_SIZE_MSB_OFFSET 0x02
|
||||
|
||||
#define AESX660_CALIBRATE_RESPONSE 0x06
|
||||
#define AESX660_FINGER_DET_RESPONSE 0x40
|
||||
|
|
Loading…
Reference in a new issue