summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2021-06-14 21:16:22 -0600
committerGitHub <noreply@github.com>2021-06-14 21:16:22 -0600
commit23590ad82730c9304cc58f5e1a649ab909e1cf28 (patch)
tree30d3743ad58ba3d1c3a8e75e6dd04b7adca47ed8
parente5fc420c6d88d61439138616cec8d626a9e3d380 (diff)
downloadbcm5719-ortega-23590ad82730c9304cc58f5e1a649ab909e1cf28.tar.gz
bcm5719-ortega-23590ad82730c9304cc58f5e1a649ab909e1cf28.zip
ape: Ensure the network port isn't reset twice on APE reload. (#226)v0.6.12
-rw-r--r--ape/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ape/main.c b/ape/main.c
index e2b3f7e..c6b4bb0 100644
--- a/ape/main.c
+++ b/ape/main.c
@@ -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
OpenPOWER on IntegriCloud