Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Hardware/NonVolatileMemory.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Hardware/NonVolatileMemory.cpp b/src/Hardware/NonVolatileMemory.cpp
index 2e19daab..cb6937b7 100644
--- a/src/Hardware/NonVolatileMemory.cpp
+++ b/src/Hardware/NonVolatileMemory.cpp
@@ -26,12 +26,7 @@ void NonVolatileMemory::EnsureRead() noexcept
#elif defined(__LPC17xx__)
# error //TODO
#elif SAM4E || SAM4S || SAME70
- const bool cacheEnabled = Cache::Disable();
Flash::ReadUserSignature(reinterpret_cast<uint32_t*>(&buffer), sizeof(buffer)/sizeof(uint32_t));
- if (cacheEnabled)
- {
- Cache::Enable();
- }
#else
# error Unsupported processor
#endif