X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=gpif-acquisition.c;h=8734abefe8693f7bea3cff45df4908fa2558d4d3;hb=484b3aa0cf59216dee289c187fc6a232fdcf8ded;hp=4878b513937a98b6f7d5ad4517df8ecfc03e7e00;hpb=8819f75c56450ef49739c3e968d70c7c777d9161;p=sigrok-firmware-fx2lafw.git diff --git a/gpif-acquisition.c b/gpif-acquisition.c index 4878b513..8734abef 100644 --- a/gpif-acquisition.c +++ b/gpif-acquisition.c @@ -1,5 +1,5 @@ /* - * This file is part of the fx2lafw project. + * This file is part of the sigrok-firmware-fx2lafw project. * * Copyright (C) 2011-2012 Uwe Hermann * Copyright (C) 2012 Joel Holdsworth @@ -54,7 +54,7 @@ static void gpif_setup_registers(void) /* When GPIF is idle, tri-state the data bus. */ /* Bit 7: DONE, bit 0: IDLEDRV. TODO: Set/clear DONE bit? */ - GPIFIDLECS = (1 << 0); + GPIFIDLECS = (0 << 0); /* When GPIF is idle, set CTL0-CTL5 to 0. */ GPIFIDLECTL = 0; @@ -71,7 +71,7 @@ static void gpif_setup_registers(void) /* Contains RDY* pin values. Read-only according to TRM. */ GPIFREADYSTAT = 0; - /* Make GPIF stop on transcation count not flag */ + /* Make GPIF stop on transaction count not flag. */ EP2GPIFPFSTOP = (0 << 0); } @@ -128,7 +128,7 @@ void gpif_init_la(void) /* Initialize flowstate registers (not used by us). */ gpif_init_flowstates(); - /* Reset the status */ + /* Reset the status. */ gpif_acquiring = FALSE; }