]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/cli.c
new MD5 ins ASM with C (working on pure ASM implementation) plus enhancments in asm...
[avr-crypto-lib.git] / test_src / cli.c
index e8ed063ae72f4aaf098eab81100b05b9d062db47..37bbb25490b294b6889a59428aa8e62d4a37ea36 100644 (file)
@@ -80,9 +80,11 @@ int16_t execcommand_d0_P(const char* str, PGM_P v, void(*fpt[])(void) ){
        if(i!=-1){
                if(fpt[i])
                        fpt[i]();
+               return i;
+       }else{
+               cli_auto_help_P(v);
+               return -1;
        }
-       cli_auto_help_P(v);
-       return -1;
 }