aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-07-12 00:42:08 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-07-26 20:14:14 +0100
commitfbaa134edaa186345ee5dd7c884c58b013525d2e (patch)
treef8d873584db17b95032a6c72a53c4c067dcb900d
parent1f08ada36681245e53251d3210ec8706391c2fc9 (diff)
downloadopenocd-jz4730-fbaa134edaa186345ee5dd7c884c58b013525d2e.tar.gz
transport: fix minor typos
Change-Id: I481d69f9953e04c881124b2da4d092213591e4ae Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5764 Tested-by: jenkins
-rw-r--r--src/transport/transport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/transport.c b/src/transport/transport.c
index 010ea7c44..9214dcd77 100644
--- a/src/transport/transport.c
+++ b/src/transport/transport.c
@@ -122,9 +122,9 @@ int allow_transports(struct command_context *ctx, const char * const *vector)
}
/**
- * Used to verify corrrect adapter driver initialization.
+ * Used to verify correct adapter driver initialization.
*
- * @returns true iff the adapter declared one or more transports.
+ * @returns true if the adapter declares one or more transports.
*/
bool transports_are_declared(void)
{
@@ -139,7 +139,7 @@ bool transports_are_declared(void)
* Code implementing a transport needs to register it before it can
* be selected and then activated. This is a dynamic process, so
* that chips (and families) can define transports as needed (without
- * nneeding error-prone static tables).
+ * needing error-prone static tables).
*
* @param new_transport the transport being registered. On a
* successful return, this memory is owned by the transport framework.