Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MarlinFirmware/Marlin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 48e982f5cbd346c20876b504ddbe6c4fd2e65e8c
Choose a base ref
..
head repository: MarlinFirmware/Marlin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f0392284123a01dd7612d547ebd1e7762e2e1f54
Choose a head ref
Showing with 2 additions and 4 deletions.
  1. +2 −4 Marlin/src/feature/leds/leds.cpp
6 changes: 2 additions & 4 deletions Marlin/src/feature/leds/leds.cpp
Original file line number Diff line number Diff line change
@@ -113,12 +113,10 @@ void LEDLights::setup() {
* start next pin fade in
*/

uint16_t led_pin_counters[led_pin_count] = {1,0,0
OPTARG(HAS_WHITE_LED, 0)
};
uint16_t led_pin_counters[led_pin_count] = { 1, 0, 0 };

bool canEnd = false;
while(led_pin_counters[0] != 99 || !canEnd) {
while (led_pin_counters[0] != 99 || !canEnd) {
if (led_pin_counters[0] == 99) // End loop next time pin0 counter is 99
canEnd = true;
LOOP_L_N(i, led_pin_count) {