Skip to content

Commit

Permalink
Delete duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
HoverClub committed Feb 25, 2022
1 parent f2a1e10 commit 91b5087
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Marlin/src/HAL/ESP32/HAL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,6 @@ void analogWrite(const pin_t pin, const uint16_t value, const uint32_t freq/*=PW

++numPWMUsed;
}

// Use 7bit internal value - add 1 to have 100% high at 255
pwmValues[idx] = (value + 1) / 2;
}
}

Expand Down

0 comments on commit 91b5087

Please sign in to comment.