From fbaa134edaa186345ee5dd7c884c58b013525d2e Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sun, 12 Jul 2020 00:42:08 +0200 Subject: [PATCH] transport: fix minor typos Change-Id: I481d69f9953e04c881124b2da4d092213591e4ae Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5764 Tested-by: jenkins --- src/transport/transport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transport/transport.c b/src/transport/transport.c index 010ea7c44d..9214dcd774 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. -- 2.30.2