Skip to content

Commit

Permalink
ape: Ensure the network port isn't reset twice on APE reload. (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
meklort authored Jun 15, 2021
1 parent e5fc420 commit 23590ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ape/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ void __attribute__((noreturn)) __start()
{
// Ensure all pending interrupts are cleared.
NVIC.InterruptClearPending.r32 = 0xFFFFFFFF;
gResetTime = false;
gPortReset = false;

// Switch to APE interrupt handlers
union
Expand Down

0 comments on commit 23590ad

Please sign in to comment.