浏览代码

Make variables and function static.

AnHardt 9 年前
父节点
当前提交
ac81b4084f
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      Marlin/temperature.cpp

+ 3
- 3
Marlin/temperature.cpp 查看文件

@@ -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

正在加载...
取消
保存