mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-28 20:00:48 -07:00
🧑💻 Fix type warning (#25149)
This commit is contained in:
parent
f17f921b68
commit
88242e0b5c
1 changed files with 1 additions and 1 deletions
|
|
@ -3313,7 +3313,7 @@ void MarlinSettings::reset() {
|
|||
#if ENABLED(DISTINCT_E_FACTORS)
|
||||
constexpr float linAdvanceK[] = ADVANCE_K;
|
||||
EXTRUDER_LOOP() {
|
||||
const float a = linAdvanceK[_MAX(e, COUNT(linAdvanceK) - 1)];
|
||||
const float a = linAdvanceK[_MAX(uint8_t(e), COUNT(linAdvanceK) - 1)];
|
||||
planner.extruder_advance_K[e] = a;
|
||||
TERN_(ADVANCE_K_EXTRA, other_extruder_advance_K[e] = a);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue