File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 24
24
#define PWM_PATH_PREFIX "/sys/class/pwm/"
25
25
26
26
/*
27
- * Note, for the easy of implementation, the string addresses are used.
27
+ * Note, for the ease of implementation, the string addresses are used.
28
28
* This means one cannot use identical strings, but must use pointers
29
29
* to the one and only string!
30
30
*/
31
- //#define GENERATE_TAG( name) static const char name[] = #name
32
31
#define GENERATE_TAG ( name ) static const char name[] = #name
33
32
GENERATE_TAG ( bed_thermistor );
34
33
GENERATE_TAG ( extruder_thermistor );
Original file line number Diff line number Diff line change @@ -928,7 +928,7 @@ int gcode_process_init( void)
928
928
tag_name ( heater_extruder ), tag_name ( heater_bed ),
929
929
tag_name ( temp_extruder ), tag_name ( temp_bed ));
930
930
}
931
- if (heater_extruder == NULL || heater_bed == NULL || temp_extruder == NULL || temp_bed == NULL ) {
931
+ if (heater_extruder == NULL || temp_extruder == NULL ) {
932
932
return -1 ;
933
933
}
934
934
return 0 ;
You can’t perform that action at this time.
0 commit comments