Skip to content

Commit

Permalink
Merge pull request #162 from yhamamachi/fix-armv8-isr
Browse files Browse the repository at this point in the history
goil: code: armv8: Fix ISR id mismatch
  • Loading branch information
fsylvestre authored Mar 20, 2024
2 parents 9a3768b + dbd52f9 commit 1ff0f13
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ foreach objList in objForSRC do
FUNC(void, OS_CODE) % !objList_KEY %_Handler(void)
{
%
let indexISR2 := 0
foreach obj in objList do
if obj::KIND == "ISR" then
# ISR 1
Expand All @@ -100,9 +99,8 @@ FUNC(void, OS_CODE) % !objList_KEY %_Handler(void)
if obj::CATEGORY == 2 then
# ISR2
%
tpl_central_interrupt_handler(% !([TASKS length] + indexISR2) %);
tpl_central_interrupt_handler(% !obj::NAME %_id);
%
let indexISR2 := indexISR2 + 1
else
error obj::CATEGORY : "This interrupt category ".obj::CATEGORY." does not exist"
end if
Expand Down

0 comments on commit 1ff0f13

Please sign in to comment.