treewide: Correct typos

This commit is contained in:
Torstein Husebø 2020-08-18 17:36:16 +02:00
parent d6ca8ff2b0
commit ee928db5b2
5 changed files with 5 additions and 5 deletions

View file

@ -742,7 +742,7 @@ fp_finger_mode_cb (FpiDeviceGoodixMoc *self,
fpi_ssm_mark_failed (self->task_ssm, error); fpi_ssm_mark_failed (self->task_ssm, error);
return; return;
} }
/* if reach max timeout(5sec) finger not up, swtich to finger up again */ /* if reach max timeout(5sec) finger not up, switch to finger up again */
if (resp->finger_status.status == GX_ERROR_WAIT_FINGER_UP_TIMEOUT) if (resp->finger_status.status == GX_ERROR_WAIT_FINGER_UP_TIMEOUT)
{ {
fpi_ssm_jump_to_state (self->task_ssm, FP_ENROLL_WAIT_FINGER_UP); fpi_ssm_jump_to_state (self->task_ssm, FP_ENROLL_WAIT_FINGER_UP);

View file

@ -121,7 +121,7 @@ cmd_receive_cb (FpiUsbTransfer *transfer,
{ {
if (resp.response_id == BMKT_RSP_CANCEL_OP_OK) if (resp.response_id == BMKT_RSP_CANCEL_OP_OK)
{ {
fp_dbg ("Received cancellation success resonse"); fp_dbg ("Received cancellation success response");
fpi_ssm_mark_failed (transfer->ssm, fpi_ssm_mark_failed (transfer->ssm,
g_error_new_literal (G_IO_ERROR, g_error_new_literal (G_IO_ERROR,
G_IO_ERROR_CANCELLED, G_IO_ERROR_CANCELLED,

View file

@ -792,7 +792,7 @@ fp_device_close_finish (FpDevice *device,
* in. The driver may make use of this metadata, when e.g. storing the print on * in. The driver may make use of this metadata, when e.g. storing the print on
* device memory. It is undefined whether this print is filled in by the driver * device memory. It is undefined whether this print is filled in by the driver
* and returned, or whether the driver will return a newly created print after * and returned, or whether the driver will return a newly created print after
* enrollment successed. * enrollment succeeded.
*/ */
void void
fp_device_enroll (FpDevice *device, fp_device_enroll (FpDevice *device,

View file

@ -760,7 +760,7 @@ fp_device_task_return_in_idle_cb (gpointer user_data)
g_task_return_error (task, fpi_device_error_new (FP_DEVICE_ERROR_REMOVED)); g_task_return_error (task, fpi_device_error_new (FP_DEVICE_ERROR_REMOVED));
/* NOTE: The removed signal will be emitted from the GTask /* NOTE: The removed signal will be emitted from the GTask
* notify::completed if that is neccessary. */ * notify::completed if that is necessary. */
return G_SOURCE_REMOVE; return G_SOURCE_REMOVE;
} }

View file

@ -74,7 +74,7 @@
* upon success (or fails). * upon success (or fails).
* *
* Your completion callback should examine the return value of * Your completion callback should examine the return value of
* fpi_ssm_get_error() in ordater to determine whether the #FpiSsm completed or * fpi_ssm_get_error() in order to determine whether the #FpiSsm completed or
* failed. An error code of zero indicates successful completion. * failed. An error code of zero indicates successful completion.
*/ */