Add R0 and R1 to clobbers of mulU24X24toH16 just to be on the safe side
parent
f2b65ebda2
commit
8f827d68c5
|
|
@ -68,7 +68,7 @@ static inline uint16_t mulU24X24toH16(const uint32_t &longIn1, const uint32_t &l
|
||||||
"clr r1 \n\t"
|
"clr r1 \n\t"
|
||||||
: "=&r"(intRes)
|
: "=&r"(intRes)
|
||||||
: "d"(longIn1), "d"(longIn2)
|
: "d"(longIn1), "d"(longIn2)
|
||||||
: "r26", "r27");
|
: "r0", "r1", "r26", "r27");
|
||||||
#endif
|
#endif
|
||||||
return intRes;
|
return intRes;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue