X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fcli-core.S;h=2c572e53e5b31ff0c1be3b692dabb7f9604b78d4;hb=628319e6c3018268ef1c307976a0e81e4dc549b8;hp=69671f6339320ba59b57d75efd25ac2cbdd61f94;hpb=24e4a90f4aea9941ff89472ea7d1349d6db82029;p=avr-crypto-lib.git diff --git a/test_src/cli-core.S b/test_src/cli-core.S index 69671f6..2c572e5 100644 --- a/test_src/cli-core.S +++ b/test_src/cli-core.S @@ -39,6 +39,7 @@ */ TMP_CNT_0 = 26 TMP_CNT_1 = 27 + .global max_cmd_length max_cmd_length: movw r30, r24 @@ -345,7 +346,7 @@ cli_auto_help: movw TMP_0, r24 rcall cli_putstr_P movw r24, TMP_0 - call strlen_P + call strlen_PF movw TMP_0, LEN_0 sub TMP_0, r24 sbc TMP_1, r25 @@ -391,6 +392,7 @@ cli_auto_help: 99: pop_range 28, 29 pop_range 14, 17 + ori r24, 1 ret ahelphead_str: .asciz "\r\n[auto help] available commands:\r\n - -
\r\n"