mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
[sam] Removed workaround in banzai() subroutine after 8120558af569cc62588442b78cc0960acd30466b
See #1876
This commit is contained in:
parent
8120558af5
commit
9fcf005638
@ -26,6 +26,7 @@ ARDUINO 1.5.6 BETA
|
||||
improve throughput when using high baudrates (KurtE)
|
||||
* sam: Fixed wrap-around bug in delay() (Mark Tillotson)
|
||||
* sam: Fixed regression in analogRead() (fails to read multiple channels) (Mark Tillotson)
|
||||
* sam: Fixed loops in Reset.cpp (Matthijs Kooijman)
|
||||
* sam: Optimized delayMicroseconds() (Rob Tillaart) #1121
|
||||
* Optimized Print::print(String&) method, now uses internal string buffer to perform block write
|
||||
* Improved portability of String class (maniacbug) #695
|
||||
|
@ -40,11 +40,6 @@ void banzai() {
|
||||
|
||||
// From here flash memory is no more available.
|
||||
|
||||
// Memory swap needs some time to stabilize
|
||||
for (uint32_t i=0; i<1000000; i++)
|
||||
// force compiler to not optimize this
|
||||
__asm__ __volatile__("");
|
||||
|
||||
// BANZAIIIIIII!!!
|
||||
const int RSTC_KEY = 0xA5;
|
||||
RSTC->RSTC_CR =
|
||||
|
Loading…
x
Reference in New Issue
Block a user