🐛 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; } static inline void clear_reset_source() { MCUSR = 0; }
// Free SRAM // Free SRAM
static inline int freeMemory() { return freeMemory(); } static inline int freeMemory() { return ::freeMemory(); }
// //
// ADC Methods // ADC Methods

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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