We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d352d commit e0ab1a3Copy full SHA for e0ab1a3
Marlin/src/feature/spindle_laser.cpp
@@ -108,7 +108,7 @@ void SpindleLaser::init() {
108
void SpindleLaser::_set_ocr(const uint8_t unscaledOcr) {
109
110
// Apply spindle override
111
- const uint16_t scaled = MUL_TERN(static_cast<uint16_t>(unscaledOcr), spindle_override);
+ const uint16_t scaled = MUL_TERN1(static_cast<uint16_t>(unscaledOcr), spindle_override);
112
#if ENABLED(SPINDLE_FEATURE)
113
const uint8_t ocr = scaled > 25500 ? 255 : scaled / 100;
114
#else
0 commit comments