diff --git a/libfprint/drivers/aes1610.c b/libfprint/drivers/aes1610.c index 927cca7..df5b569 100644 --- a/libfprint/drivers/aes1610.c +++ b/libfprint/drivers/aes1610.c @@ -404,7 +404,7 @@ static unsigned char list_BD_values[10] = { /* * Adjust the gain according to the histogram data * 0xbd, 0xbe, 0x29 and 0x2A registers are affected - * Returns 0 if no problem occured + * Returns 0 if no problem occurred * TODO: This is a basic support for gain. It needs testing/tweaking. */ static int adjust_gain(unsigned char *buffer, int status) { @@ -412,7 +412,7 @@ static int adjust_gain(unsigned char *buffer, int status) static int pos_list_BE = 0; static int pos_list_BD = 0; - // This is the first adjustement (we begin acquisition) + // This is the first adjustment (we begin acquisition) // We adjust strip_scan_reqs for future strips and capture_reqs that is sent just after this step if (status == GAIN_STATUS_FIRST) { if (buffer[1] > 0x78) { // maximum gain needed @@ -534,7 +534,7 @@ static void restore_gain(void) /* capture SM movement: * request and read strip, - * jump back to request UNLESS theres no finger, in which case exit SM, + * jump back to request UNLESS there's no finger, in which case exit SM, * report lack of finger presence, and move to finger detection */ enum capture_states { @@ -728,7 +728,7 @@ static void activate_run_state(fpi_ssm *ssm, struct fp_dev *_dev, void *user_dat struct fp_img_dev *dev = user_data; /* activation on aes1610 seems much more straightforward compared to aes2501 */ - /* verify theres anything missing here */ + /* verify there's anything missing here */ switch (fpi_ssm_get_cur_state(ssm)) { case WRITE_INIT: fp_dbg("write init"); diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c index 3511893..91e02a3 100644 --- a/libfprint/drivers/aes2501.c +++ b/libfprint/drivers/aes2501.c @@ -415,7 +415,7 @@ static struct aes_regwrite strip_scan_reqs[] = { /* capture SM movement: * write reqs and read data 1 + 2, * request and read strip, - * jump back to request UNLESS theres no finger, in which case exit SM, + * jump back to request UNLESS there's no finger, in which case exit SM, * report lack of finger presence, and move to finger detection */ enum capture_states { diff --git a/libfprint/drivers/aes2501.h b/libfprint/drivers/aes2501.h index 9f2f1b6..19adcc9 100644 --- a/libfprint/drivers/aes2501.h +++ b/libfprint/drivers/aes2501.h @@ -109,7 +109,7 @@ enum aes2501_mesure_drive { /* Select (1=square | 0=sine) wave drive during measure */ #define AES2501_MEASDRV_SQUARE 0x20 -/* 0 = use mesure drive setting, 1 = when sine wave is selected */ +/* 0 = use measure drive setting, 1 = when sine wave is selected */ #define AES2501_MEASDRV_MEASURE_SQUARE 0x10 enum aes2501_measure_freq { diff --git a/libfprint/drivers/aes2550.c b/libfprint/drivers/aes2550.c index ba021d3..72a8613 100644 --- a/libfprint/drivers/aes2550.c +++ b/libfprint/drivers/aes2550.c @@ -447,7 +447,7 @@ static void init_read_data_cb(struct libusb_transfer *transfer) } /* TODO: use calibration table, datasheet is rather terse on that - * need more info for implementaion */ + * need more info for implementation */ static void calibrate_read_data_cb(struct libusb_transfer *transfer) { fpi_ssm *ssm = transfer->user_data;