Bläddra i källkod

Clean up whitespace

Scott Lahteine 6 år sedan
förälder
incheckning
3419099f0a
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. 3
    0
      Marlin/src/module/planner.cpp
  2. 1
    1
      Marlin/src/module/temperature.cpp

+ 3
- 0
Marlin/src/module/planner.cpp Visa fil

1264
     #endif
1264
     #endif
1265
 
1265
 
1266
     #if ENABLED(FAN_SOFT_PWM)
1266
     #if ENABLED(FAN_SOFT_PWM)
1267
+
1267
       #if HAS_FAN0
1268
       #if HAS_FAN0
1268
         thermalManager.soft_pwm_amount_fan[0] = CALC_FAN_SPEED(0);
1269
         thermalManager.soft_pwm_amount_fan[0] = CALC_FAN_SPEED(0);
1269
       #endif
1270
       #endif
1275
       #endif
1276
       #endif
1276
 
1277
 
1277
     #elif ENABLED(FAST_PWM_FAN)
1278
     #elif ENABLED(FAST_PWM_FAN)
1279
+
1278
       #if HAS_FAN0
1280
       #if HAS_FAN0
1279
         thermalManager.set_pwm_duty(FAN_PIN, CALC_FAN_SPEED(0));
1281
         thermalManager.set_pwm_duty(FAN_PIN, CALC_FAN_SPEED(0));
1280
       #endif
1282
       #endif
1286
       #endif
1288
       #endif
1287
 
1289
 
1288
     #else
1290
     #else
1291
+
1289
       #if HAS_FAN0
1292
       #if HAS_FAN0
1290
         analogWrite(FAN_PIN, CALC_FAN_SPEED(0));
1293
         analogWrite(FAN_PIN, CALC_FAN_SPEED(0));
1291
       #endif
1294
       #endif

+ 1
- 1
Marlin/src/module/temperature.cpp Visa fil

2270
     #else
2270
     #else
2271
       #define CHAMBERCMP(A,B) ((A)>=(B))
2271
       #define CHAMBERCMP(A,B) ((A)>=(B))
2272
     #endif
2272
     #endif
2273
-    const bool chamber_on = (temp_chamber.target > 0) 
2273
+    const bool chamber_on = (temp_chamber.target > 0)
2274
       #if ENABLED(PIDTEMPCHAMBER)
2274
       #if ENABLED(PIDTEMPCHAMBER)
2275
         || (temp_chamber.soft_pwm_amount > 0)
2275
         || (temp_chamber.soft_pwm_amount > 0)
2276
       #endif
2276
       #endif

Laddar…
Avbryt
Spara