mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-06 14:47:42 -07:00
🧑💻 Fix max_isr_rate sign warnings
This commit is contained in:
parent
d5723fcafd
commit
a4382b4dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ constexpr ena_mask_t enable_overlap[] = {
|
|||
TERN0(INPUT_SHAPING_Z, _ISDMF[Z_AXIS] * _ISDASU[Z_AXIS]);
|
||||
#if defined(__AVR__) || !defined(ADAPTIVE_STEP_SMOOTHING)
|
||||
// min_step_isr_frequency is known at compile time on AVRs and any reduction in SRAM is welcome
|
||||
template<unsigned int INDEX=DISTINCT_AXES> constexpr float max_isr_rate() {
|
||||
template<int INDEX=DISTINCT_AXES> constexpr float max_isr_rate() {
|
||||
return _MAX(_ISDMF[ALIM(INDEX - 1, _ISDMF)] * _ISDASU[ALIM(INDEX - 1, _ISDASU)], max_isr_rate<INDEX - 1>());
|
||||
}
|
||||
template<> constexpr float max_isr_rate<0>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue