diff --git a/firmware/target/arm/memset-arm.S b/firmware/target/arm/memset-arm.S index d977fd0360..dcda04b3d5 100755 --- a/firmware/target/arm/memset-arm.S +++ b/firmware/target/arm/memset-arm.S @@ -91,6 +91,6 @@ memset: strneb r1, [r0, #-1]! tst r2, #1 strneb r1, [r0, #-1]! - mov pc, lr -end: + bx lr +.end: .size memset,.end-memset