Browse Source

Make variables and function static.

AnHardt 9 years ago
parent
commit
ac81b4084f
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/temperature.cpp

+ 3
- 3
Marlin/temperature.cpp View File

@@ -1174,10 +1174,10 @@ enum TempState {
1174 1174
   #define TEMP_SENSOR_COUNT EXTRUDERS
1175 1175
 #endif
1176 1176
 
1177
-unsigned long raw_temp_value[TEMP_SENSOR_COUNT] = { 0 };
1178
-unsigned long raw_temp_bed_value = 0;
1177
+static unsigned long raw_temp_value[TEMP_SENSOR_COUNT] = { 0 };
1178
+static unsigned long raw_temp_bed_value = 0;
1179 1179
 
1180
-void set_current_temp_raw() {
1180
+static void set_current_temp_raw() {
1181 1181
   #ifndef HEATER_0_USES_MAX6675
1182 1182
     current_temperature_raw[0] = raw_temp_value[0];
1183 1183
   #endif

Loading…
Cancel
Save