]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/command.c
New memory test commands, loadi updates. Needs testing
[z180-stamp.git] / avr / command.c
index b6fa41864f6fba3b87e410e4381ff98fc4d1c81b..46e3a8af09d9a9ee54cac24162d025c76e12ac70 100644 (file)
@@ -149,8 +149,8 @@ cmd_tbl_t *find_cmd_tbl (const char *cmd, cmd_tbl_t *table, int table_len)
        for (cmdtp = table;
             cmdtp != table + table_len;
             cmdtp++) {
-               if (strncmp_P (cmd, cmdtp->name, len) == 0) {
-                       if (len == strlen (cmdtp->name))
+               if (strncmp_P(cmd, cmdtp->name, len) == 0) {
+                       if (len == strlen_P(cmdtp->name))
                                return cmdtp;   /* full match */
 
                        cmdtp_temp = cmdtp;     /* abbreviated command ? */