[Fingerforce-commits] [libfprint] 02/11: aesx660: fix spelling of define name

Didier Raboud odyx at moszumanska.debian.org
Sun Apr 12 09:42:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian
in repository libfprint.

commit 82ae7c1c0909dba765ed8c42d26c22913841f206
Author: Vasily Khoruzhick <anarsoul at gmail.com>
Date:   Mon Dec 30 12:05:08 2013 +0300

    aesx660: fix spelling of define name
---
 libfprint/drivers/aesx660.c | 2 +-
 libfprint/drivers/aesx660.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libfprint/drivers/aesx660.c b/libfprint/drivers/aesx660.c
index d030d0e..6f35720 100644
--- a/libfprint/drivers/aesx660.c
+++ b/libfprint/drivers/aesx660.c
@@ -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);
diff --git a/libfprint/drivers/aesx660.h b/libfprint/drivers/aesx660.h
index b53ad51..e354538 100644
--- a/libfprint/drivers/aesx660.h
+++ b/libfprint/drivers/aesx660.h
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/fingerforce/libfprint.git



More information about the Fingerforce-commits mailing list