0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-19 16:16:13 +00:00

🐛 Fix freeMemory endless loop

Followup to #23295
This commit is contained in:
Scott Lahteine 2021-12-25 20:00:48 -06:00
parent bdb071688e
commit 4f0932e5c1
11 changed files with 11 additions and 11 deletions

View file

@ -205,7 +205,7 @@ public:
static inline void clear_reset_source() { MCUSR = 0; }
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -196,7 +196,7 @@ public:
static inline void clear_reset_source() {}
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -126,7 +126,7 @@ public:
static inline void clear_reset_source() {}
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -219,7 +219,7 @@ public:
static void clear_reset_source();
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -228,7 +228,7 @@ public:
static inline void clear_reset_source() {}
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -176,7 +176,7 @@ public:
static inline void clear_reset_source() {}
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -226,7 +226,7 @@ public:
static void clear_reset_source();
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -270,7 +270,7 @@ public:
static inline void clear_reset_source() {}
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -155,7 +155,7 @@ public:
static inline void clear_reset_source() {}
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -160,7 +160,7 @@ public:
static inline void clear_reset_source() {}
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods

View file

@ -182,7 +182,7 @@ public:
static void clear_reset_source();
// Free SRAM
static inline int freeMemory() { return freeMemory(); }
static inline int freeMemory() { return ::freeMemory(); }
//
// ADC Methods