Skip to content

Commit 7393936

Browse files
committed
[sam] Removed workaround in banzai() subroutine after 8120558
See arduino#1876
1 parent df2cb7e commit 7393936

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cores/arduino/Reset.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ void banzai() {
4040

4141
// From here flash memory is no more available.
4242

43-
// Memory swap needs some time to stabilize
44-
for (uint32_t i=0; i<1000000; i++)
45-
// force compiler to not optimize this
46-
__asm__ __volatile__("");
47-
4843
// BANZAIIIIIII!!!
4944
const int RSTC_KEY = 0xA5;
5045
RSTC->RSTC_CR =

0 commit comments

Comments
 (0)