Probe singleton patch

Followup to #16751
This commit is contained in:
Scott Lahteine 2020-02-01 07:51:50 -06:00
parent 5296af94d2
commit 995a9238b3
2 changed files with 3 additions and 3 deletions

View File

@ -455,8 +455,8 @@ bool Probe::set_deployed(const bool deploy) {
* @return true to indicate an error * @return true to indicate an error
*/ */
#if HAS_HEATED_BED && ENABLED(WAIT_FOR_BED_HEATER) #if HAS_BED_PROBE && HAS_HEATED_BED && ENABLED(WAIT_FOR_BED_HEATER)
PGM_P Probe::msg_wait_for_bed_heating[25] PROGMEM = "Wait for bed heating...\n"; const char Probe::msg_wait_for_bed_heating[25] PROGMEM = "Wait for bed heating...\n";
#endif #endif
bool Probe::move_to_z(const float z, const feedRate_t fr_mm_s) { bool Probe::move_to_z(const float z, const feedRate_t fr_mm_s) {

View File

@ -61,7 +61,7 @@ public:
return probe_at_point(pos.x, pos.y, raise_after, verbose_level, probe_relative); return probe_at_point(pos.x, pos.y, raise_after, verbose_level, probe_relative);
} }
#if HAS_HEATED_BED && ENABLED(WAIT_FOR_BED_HEATER) #if HAS_HEATED_BED && ENABLED(WAIT_FOR_BED_HEATER)
static PGM_P msg_wait_for_bed_heating[25]; static const char msg_wait_for_bed_heating[25];
#endif #endif
#else #else