Skip to content

Commit

Permalink
AP_Scripting: split out and fixed long jump handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed May 13, 2024
1 parent cd7b1e9 commit 1d60829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Scripting/lua/src/ldo.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) {
lj.status = LUA_OK;
lj.previous = L->errorJmp; /* chain new error handler */
L->errorJmp = &lj;
LUAI_TRY(L, &lj,
#ifdef ARM_MATH_CM7
__asm__("vpush {s16-s31}");
#endif
LUAI_TRY(L, &lj,
(*f)(L, ud);
);
#ifdef ARM_MATH_CM7
Expand Down

0 comments on commit 1d60829

Please sign in to comment.