diff --git a/Marlin/src/feature/leds/neopixel.cpp b/Marlin/src/feature/leds/neopixel.cpp index d2aa2e9fd9e695d4b4663c2af47ef2b5c0902b3c..93e8348cfd1fbc71a134a135978a521a5a855d65 100644 --- a/Marlin/src/feature/leds/neopixel.cpp +++ b/Marlin/src/feature/leds/neopixel.cpp @@ -53,11 +53,11 @@ Adafruit_NeoPixel Marlin_NeoPixel::adaneo1(NEOPIXEL_PIXELS, NEOPIXEL_PIN, NEOPIX #endif void Marlin_NeoPixel::set_color(const uint32_t color) { - if (get_neo_index() >= 0) { + if (get_neo_index() >= 0) { set_pixel_color(get_neo_index(), color); set_neo_index(-1); } - else { + else { for (uint16_t i = 0; i < pixels(); ++i) { #ifdef NEOPIXEL_BKGD_LED_INDEX if (i == NEOPIXEL_BKGD_LED_INDEX && color != 0x000000) { diff --git a/Marlin/src/gcode/feature/leds/M150.cpp b/Marlin/src/gcode/feature/leds/M150.cpp index a2497961ace14720eabc26a90b6a4ef93909e1c7..88e4ec1e27e645e9a0b7f36669ace3068264b09b 100644 --- a/Marlin/src/gcode/feature/leds/M150.cpp +++ b/Marlin/src/gcode/feature/leds/M150.cpp @@ -47,7 +47,7 @@ * M150 P127 ; Set LED 50% brightness * M150 P ; Set LED full brightness * M150 I1 R ; Set NEOPIXEL index 1 to red - */ + */ void GcodeSuite::M150() { #if ENABLED(NEOPIXEL_LED) neo.set_neo_index(parser.intval('I', -1)); diff --git a/Marlin/src/inc/Conditionals_LCD.h b/Marlin/src/inc/Conditionals_LCD.h index b1b2cf9b8250c38684f934564ea71355563ca7f3..877518c89764daca0dca45d775029f8f78021274 100644 --- a/Marlin/src/inc/Conditionals_LCD.h +++ b/Marlin/src/inc/Conditionals_LCD.h @@ -121,10 +121,10 @@ #define IS_U8GLIB_SSD1306 #elif ENABLED(FYSETC_242_OLED_12864) - + #define IS_RRD_SC #define U8GLIB_SH1106 - + #define LED_CONTROL_MENU #define NEOPIXEL_LED #undef NEOPIXEL_TYPE @@ -136,7 +136,7 @@ #ifndef NEOPIXEL_BRIGHTNESS #define NEOPIXEL_BRIGHTNESS 127 #endif - + #if ENABLED(PSU_CONTROL) #define LED_BACKLIGHT_TIMEOUT 10000 #endif diff --git a/Marlin/src/lcd/dogm/ultralcd_DOGM.h b/Marlin/src/lcd/dogm/ultralcd_DOGM.h index d1a60e7705e4c5b7089ec8ddfd2e4f3499236e13..b83a175589c2333a6994b4e829fff3ebbe41c6b3 100644 --- a/Marlin/src/lcd/dogm/ultralcd_DOGM.h +++ b/Marlin/src/lcd/dogm/ultralcd_DOGM.h @@ -124,11 +124,11 @@ #endif #elif ENABLED(FYSETC_242_OLED_12864) - + // FYSETC OLED 2.42" 128 × 64 FULL GRAPHICS CONTROLLER - + #define FORCE_SOFT_SPI // SW-SPI - + #if ENABLED(ALTERNATIVE_LCD) #define U8G_CLASS U8GLIB_SSD1306_128X64_2X // 4 stripes #else diff --git a/Marlin/src/lcd/menu/menu_configuration.cpp b/Marlin/src/lcd/menu/menu_configuration.cpp index 457f3dd174b773ad51abdf68b597a667581fdb0c..0bd1c1e6551145ddd298d86d676dc9b3f691e8dc 100644 --- a/Marlin/src/lcd/menu/menu_configuration.cpp +++ b/Marlin/src/lcd/menu/menu_configuration.cpp @@ -310,7 +310,7 @@ void menu_advanced_settings(); #if HAS_FAN editable.uint8 = uint8_t(ui.material_preset[m].fan_speed); EDIT_ITEM_N(percent, m, MSG_FAN_SPEED, &editable.uint8, 0, 255, []{ ui.material_preset[MenuItemBase::itemIndex].fan_speed = editable.uint8; }); - #endif + #endif #if HAS_TEMP_HOTEND EDIT_ITEM(uint16_3, MSG_NOZZLE, &ui.material_preset[m].hotend_temp, MINTEMP_ALL, MAXTEMP_ALL - HOTEND_OVERSHOOT); #endif diff --git a/Marlin/src/module/motion.cpp b/Marlin/src/module/motion.cpp index f7732f577fa6d4154df665a3469fbcc9c91ac0f4..cbf52bae223e50dec4dc72144d7345536ce9a559 100644 --- a/Marlin/src/module/motion.cpp +++ b/Marlin/src/module/motion.cpp @@ -1502,7 +1502,7 @@ void set_axis_not_trusted(const AxisEnum axis) { // Skip to next if target position is behind current. So it only moves away from endstop. if (phaseDelta < 0) phaseDelta += 1024; - // Convert TMC µsteps(phase) to whole Marlin µsteps to effector backout direction to mm + // Convert TMC µsteps(phase) to whole Marlin µsteps to effector backout direction to mm const float mmDelta = int16_t(phaseDelta / phasePerUStep) * effectorBackoutDir * planner.steps_to_mm[axis]; // Optional debug messages diff --git a/Marlin/src/pins/stm32f4/pins_LERDGE_K.h b/Marlin/src/pins/stm32f4/pins_LERDGE_K.h index 2146c4a5287ee145681c9a32cfc7f45c6c2b10a8..114c44071526cf4d8b2afac3d1b12eed1a83c092 100644 --- a/Marlin/src/pins/stm32f4/pins_LERDGE_K.h +++ b/Marlin/src/pins/stm32f4/pins_LERDGE_K.h @@ -100,7 +100,7 @@ #define TEMP_BED_PIN PC0 // Analog Input // Lergde-K can choose thermocouple/thermistor mode in software. -// For use with thermistors, these pins must be OUT/LOW. +// For use with thermistors, these pins must be OUT/LOW. // This is done automatically. #define TEMP_0_TR_ENABLE_PIN PF10 #define TEMP_1_TR_ENABLE_PIN PF9