Fix G60/G61 slots > 8 and compile error (#16715)
This commit is contained in:
@@ -45,7 +45,7 @@ void GcodeSuite::G60() {
|
||||
}
|
||||
|
||||
stored_position[slot] = current_position;
|
||||
SBI(saved_slots, slot);
|
||||
SBI(saved_slots[slot >> 3], slot & 0b00000111);
|
||||
|
||||
#if ENABLED(SAVED_POSITIONS_DEBUG)
|
||||
const xyze_pos_t &pos = stored_position[slot];
|
||||
|
||||
Reference in New Issue
Block a user