fix error in M105 output -- use SERIAL_PROTOCOL for ints instead of SERIAL_PROTOCOL_F (#6584)
also removed wayward 'address of' ampersand in setTargetHotend and setTargetBed parameters
This commit is contained in:
@ -346,6 +346,7 @@ class Temperature {
|
||||
#endif
|
||||
return target_temperature[HOTEND_INDEX];
|
||||
}
|
||||
|
||||
static int16_t degTargetBed() { return target_temperature_bed; }
|
||||
|
||||
#if WATCH_HOTENDS
|
||||
@ -356,7 +357,7 @@ class Temperature {
|
||||
static void start_watching_bed();
|
||||
#endif
|
||||
|
||||
static void setTargetHotend(const int16_t &celsius, uint8_t e) {
|
||||
static void setTargetHotend(const int16_t celsius, uint8_t e) {
|
||||
#if HOTENDS == 1
|
||||
UNUSED(e);
|
||||
#endif
|
||||
@ -372,7 +373,7 @@ class Temperature {
|
||||
#endif
|
||||
}
|
||||
|
||||
static void setTargetBed(const int16_t &celsius) {
|
||||
static void setTargetBed(const int16_t celsius) {
|
||||
target_temperature_bed = celsius;
|
||||
#if WATCH_THE_BED
|
||||
start_watching_bed();
|
||||
|
Reference in New Issue
Block a user