Prusa-Firmware/Firmware
Yuri D'Elia 7b29ce29b4 Add a Linear Advance 1.0->1.5 compatibility layer
Allow existing gcode using LA10 to transparently take advantage of LA15
by using a simple linear conversion function based on experimental
results with the MK3 implementation of linear advance.

Autodetect LA10 values based on the first M900 instruction contained in
the print. In order to support printing mixed files without resetting
the printer we also reset the autodetection status when starting a new
SD print and/or when explicitly disabling LA.

Since we cannot reliably detect whether a new print is started when
printing via USB, also reset the detection status when homing in G28,
which is generally performed once at each print. Note that this doesn't
clear the previous K value, it only allows a subsequent M900 to provide
LA10 values when printed after a LA15 file.
2019-12-21 23:22:35 +01:00
..
variants
adc.c
adc.h
AutoDeplete.cpp
AutoDeplete.h
backlight.cpp
backlight.h
BlinkM.cpp
BlinkM.h
boards.h
bootapp.c
bootapp.h
cardreader.cpp
cardreader.h
cmdqueue.cpp
cmdqueue.h
config.h
Configuration_adv.h Add a Linear Advance 1.0->1.5 compatibility layer 2019-12-21 23:22:35 +01:00
Configuration.cpp
Configuration.h
ConfigurationStore.cpp
ConfigurationStore.h
conv2str.cpp
conv2str.h
Dcodes.cpp
Dcodes.h
doxyfile
eeprom.cpp
eeprom.h Merge remote-tracking branch 'upstream/MK3' into MK3_LA15 2019-12-18 18:28:41 +01:00
fastio.h
Firmware.ino
first_lay_cal.cpp
first_lay_cal.h
fsensor.cpp
fsensor.h
heatbed_pwm.cpp
io_atmega2560.h
la10compat.cpp Add a Linear Advance 1.0->1.5 compatibility layer 2019-12-21 23:22:35 +01:00
la10compat.h Add a Linear Advance 1.0->1.5 compatibility layer 2019-12-21 23:22:35 +01:00
language.c
language.h
lcd.cpp
lcd.h
le.sh
Marlin_main.cpp Add a Linear Advance 1.0->1.5 compatibility layer 2019-12-21 23:22:35 +01:00
Marlin.h
MarlinSerial.cpp
MarlinSerial.h
menu.cpp
menu.h
mesh_bed_calibration.cpp
mesh_bed_calibration.h
mesh_bed_leveling.cpp
mesh_bed_leveling.h
messages.c Merge remote-tracking branch 'upstream/MK3' into MK3_LA15 2019-12-18 18:28:41 +01:00
messages.h Merge remote-tracking branch 'upstream/MK3' into MK3_LA15 2019-12-18 18:28:41 +01:00
mmu.cpp Merge pull request #2309 from leptun/MK3_fix_MMU_pause_time 2019-12-15 11:04:57 +01:00
mmu.h
motion_control.cpp
motion_control.h
optiboot_w25x20cl.cpp
optiboot_w25x20cl.h
pat9125.c
pat9125.h
pins_Einsy_1_0.h
pins_Rambo_1_0.h
pins_Rambo_1_3.h
pins.h
planner.cpp
planner.h
printers.h
qr_solve.cpp
qr_solve.h
rbuf.c
rbuf.h
Sd2Card.cpp
Sd2Card.h
Sd2PinMap.h
SdBaseFile.cpp
SdBaseFile.h
SdFatConfig.h
SdFatStructs.h
SdFatUtil.cpp
SdFatUtil.h
SdFile.cpp
SdFile.h
SdInfo.h
SdVolume.cpp
SdVolume.h
Servo.cpp
Servo.h
sm4.c
sm4.h
sound.cpp
sound.h
speed_lookuptable.cpp
speed_lookuptable.h
spi.c
spi.h
static_assert.h
stepper.cpp
stepper.h
stk500.h
swi2c.c
swi2c.h
swspi.cpp
swspi.h
system_timer.h
temperature.cpp
temperature.h
thermistortables.h
timer02.c
timer02.h
Timer.cpp
Timer.h
TimerRemaining.h
tmc2130.cpp
tmc2130.h
uart2.c
uart2.h
ultralcd.cpp Merge remote-tracking branch 'upstream/MK3' into MK3_LA15 2019-12-18 18:28:41 +01:00
ultralcd.h
uni_avr_rpi.h
util.cpp
util.h
vector_3.cpp
vector_3.h
w25x20cl.c
w25x20cl.h
xyzcal.cpp
xyzcal.h