Skip to content

Commit e0ab1a3

Browse files
committed
the other macro
1 parent 96d352d commit e0ab1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/feature/spindle_laser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void SpindleLaser::init() {
108108
void SpindleLaser::_set_ocr(const uint8_t unscaledOcr) {
109109

110110
// Apply spindle override
111-
const uint16_t scaled = MUL_TERN(static_cast<uint16_t>(unscaledOcr), spindle_override);
111+
const uint16_t scaled = MUL_TERN1(static_cast<uint16_t>(unscaledOcr), spindle_override);
112112
#if ENABLED(SPINDLE_FEATURE)
113113
const uint8_t ocr = scaled > 25500 ? 255 : scaled / 100;
114114
#else

0 commit comments

Comments
 (0)