Fix a compile warning, etc. (#12955)
This commit is contained in:
@ -184,6 +184,7 @@ void plan_arc(
|
||||
raw[q_axis] = center_Q + r_Q;
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
raw[l_axis] = start_L;
|
||||
UNUSED(linear_per_segment);
|
||||
#else
|
||||
raw[l_axis] += linear_per_segment;
|
||||
#endif
|
||||
|
@ -179,13 +179,9 @@ void GcodeSuite::M28() {
|
||||
|
||||
#if ENABLED(FAST_FILE_TRANSFER)
|
||||
|
||||
const int16_t port =
|
||||
#if NUM_SERIAL > 1
|
||||
command_queue_port[cmd_queue_index_r]
|
||||
#else
|
||||
0
|
||||
#endif
|
||||
;
|
||||
#if NUM_SERIAL > 1
|
||||
const int16_t port = command_queue_port[cmd_queue_index_r];
|
||||
#endif
|
||||
|
||||
bool binary_mode = false;
|
||||
char *p = parser.string_arg;
|
||||
|
@ -48,7 +48,7 @@ void GcodeSuite::M106() {
|
||||
if (p < MIN(EXTRUDERS, FAN_COUNT)) {
|
||||
|
||||
#if ENABLED(EXTRA_FAN_SPEED)
|
||||
const int16_t t = parser.intval('T');
|
||||
const uint16_t t = parser.intval('T');
|
||||
if (t > 0) return thermalManager.set_temp_fan_speed(p, t);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user