Sfoglia il codice sorgente

Fix up some whitespace

Scott Lahteine 6 anni fa
parent
commit
712e23c383

+ 1
- 1
Marlin/src/module/temperature.cpp Vedi File

@@ -162,7 +162,7 @@ int16_t Temperature::current_temperature_raw[HOTENDS], // = { 0 }
162 162
     #endif
163 163
 
164 164
     if (target >= FAN_COUNT) return;
165
-    
165
+
166 166
     fan_speed[target] = speed;
167 167
     #if ENABLED(ULTRA_LCD)
168 168
       lcd_tmpfan_speed[target] = speed;

+ 1
- 1
Marlin/src/pins/pins_BIQU_SKR_V1.1.h Vedi File

@@ -78,7 +78,7 @@
78 78
   #define FAN1_PIN         P2_04
79 79
 #else
80 80
   #define HEATER_1_PIN     P2_04
81
-#endif 
81
+#endif
82 82
 #define FAN_PIN            P2_03
83 83
 #define HEATER_BED_PIN     P2_05
84 84
 

+ 2
- 7
Marlin/src/sd/Sd2Card.cpp Vedi File

@@ -525,10 +525,7 @@ bool Sd2Card::readStop() {
525 525
  */
526 526
 bool Sd2Card::setSckRate(const uint8_t sckRateID) {
527 527
   const bool success = (sckRateID <= 6);
528
-  if (success) 
529
-    spiRate_ = sckRateID;
530
-  else
531
-    error(SD_CARD_ERROR_SCK_RATE);
528
+  if (success) spiRate_ = sckRateID; else error(SD_CARD_ERROR_SCK_RATE);
532 529
   return success;
533 530
 }
534 531
 
@@ -539,9 +536,7 @@ bool Sd2Card::setSckRate(const uint8_t sckRateID) {
539 536
  */
540 537
 bool Sd2Card::waitNotBusy(const millis_t timeout_ms) {
541 538
   const millis_t wait_timeout = millis() + timeout_ms;
542
-  while (spiRec() != 0xFF)
543
-    if (ELAPSED(millis(), wait_timeout)) return false;
544
-
539
+  while (spiRec() != 0xFF) if (ELAPSED(millis(), wait_timeout)) return false;
545 540
   return true;
546 541
 }
547 542
 

Loading…
Annulla
Salva