🔨 Prevent build attribute define conflicts
This commit is contained in:
@ -494,7 +494,7 @@ static void print_es_state(const bool is_hit, FSTR_P const flabel=nullptr) {
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
void _O2 Endstops::report_states() {
|
||||
void __O2 Endstops::report_states() {
|
||||
TERN_(BLTOUCH, bltouch._set_SW_mode());
|
||||
SERIAL_ECHOLNPGM(STR_M119_REPORT);
|
||||
#define ES_REPORT(S) print_es_state(READ(S##_PIN) != S##_ENDSTOP_INVERTING, F(STR_##S))
|
||||
|
@ -677,7 +677,7 @@ class Temperature {
|
||||
/**
|
||||
* Call periodically to manage heaters
|
||||
*/
|
||||
static void manage_heater() _O2; // Added _O2 to work around a compiler error
|
||||
static void manage_heater() __O2; // __O2 added to work around a compiler error
|
||||
|
||||
/**
|
||||
* Preheating hotends
|
||||
|
Reference in New Issue
Block a user