Prusa-Firmware/Firmware
Guðni Már Gilbert 184e19dd60 further optimise lcdui_print_status_line
We can use lcd_print_pad to determine
whether the end of the file name was reached

lcd_print_pad now returns the last character pointed to.
If the end of the string was reached, it will be the null delimeter which
evaluates to "false" in an if statment (same as NULL).
Else "true" means the end of the string was not reached.

Change in memory:
Flash: -42 bytes
SRAM: 0 bytes
2022-11-13 09:29:37 +01:00
..
mmu2 Bump up Revision to ALPHA1 6051 2022-11-04 10:21:39 +01:00
variants Merge branch 'MK3' into MK3_MMU2_fix1 2022-09-21 15:18:44 +02:00
BlinkM.cpp
BlinkM.h
Configuration.cpp build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
Configuration.h Bump up build number 2022-11-04 11:16:07 +01:00
ConfigurationStore.cpp build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
ConfigurationStore.h Don't include M851 in build if Auto Bed Leveling is not enabled 2022-08-26 15:35:28 +00:00
Configuration_adv.h PFW-1386 Use Marlin 2 unload sequence for single material 2022-09-16 10:22:39 +02:00
Configuration_var.h build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
Dcodes.cpp Merge branch 'MK3' into MK3_MMU2_fix1 2022-09-23 14:55:23 +02:00
Dcodes.h Improve PAT9125 UI implementation 2022-09-16 10:20:32 +02:00
Filament_sensor.cpp cleanup: Fix more spourious missing return warnings 2022-10-03 21:54:08 +02:00
Filament_sensor.h Optimize filament sensor implementation 2022-09-16 10:22:38 +02:00
Firmware.ino
Marlin.h Rename EN_ONLY to EN_FARM 2022-09-29 16:39:02 +02:00
MarlinSerial.cpp Remove ancient SNMM code in the MK3 branch 2022-02-15 15:58:33 +01:00
MarlinSerial.h Use timer3 instead of timer5 on miniRambo 2022-08-24 10:18:45 +03:00
Marlin_main.cpp PFW-1397 To reserve EEPROM write cycles, only update toolchange counter when a print finishes or is stopped 2022-11-08 13:49:40 +01:00
Prusa_farm.cpp Fixup after rebase onto MK3 2022-09-16 10:23:47 +02:00
Prusa_farm.h Added //#define FARM_CONNECT_MESSAGE 2022-09-16 19:33:22 +02:00
Sd2Card.cpp Enable MISO pullup during SD CMD0 2022-10-10 09:43:50 +02:00
Sd2Card.h Change return types of two functions uint8_t 2022-01-30 11:39:24 +00:00
SdBaseFile.cpp Reduce a few magic numbers for FILENAME_LENGTH 2022-08-26 19:26:26 +03:00
SdBaseFile.h Remove temporary changes from SdBaseFile.h 2021-01-28 09:42:50 +01:00
SdFatConfig.h
SdFatStructs.h
SdFatUtil.cpp Introduce STACK_GUARD_MARGIN in all variants 2021-06-12 12:08:53 +02:00
SdFatUtil.h Introduce STACK_GUARD_MARGIN in all variants 2021-06-12 12:08:53 +02:00
SdFile.cpp SDFile - fix errorneous offset computation 2021-03-30 11:33:42 +02:00
SdFile.h Remove commented debug code 2021-02-10 11:18:59 +01:00
SdInfo.h
SdVolume.cpp
SdVolume.h Extract gcode filter from SdBaseFile into SdFile + optimization 2021-01-27 09:33:28 +01:00
Servo.cpp change boolean to bool 2021-07-20 08:03:17 +02:00
Servo.h
SpoolJoin.cpp Rename Auto_deplete to Spool_join 2022-09-16 16:25:47 +02:00
SpoolJoin.h PFW-1362 Change isSpoolJoinEnabled to return bool 2022-09-16 10:23:47 +02:00
Tcodes.cpp RIP Bondtech long live the Extruder 2022-09-16 16:31:27 +02:00
Tcodes.h MMU2 interface overhaul 2022-09-16 10:21:53 +02:00
Timer.cpp Implement Timer::expired_cont() 2022-07-25 17:30:22 +02:00
Timer.h Implement Timer::expired_cont() 2022-07-25 17:30:22 +02:00
TimerRemaining.h
adc.cpp Decouple temperature ISR from ADC readings 2022-07-25 17:30:21 +02:00
adc.h Fixup after rebase onto MK3 2022-09-16 10:23:47 +02:00
asm.h Simplify GETPC() 2022-02-02 21:06:58 +01:00
backlight.cpp Add newline at the end of file 2020-09-15 14:56:41 +02:00
backlight.h
boards.h
bootapp.c Remove unused/broken bootapp code 2021-03-03 16:31:30 +02:00
bootapp.h Fix usage of RAMEND 2021-06-12 13:16:12 +02:00
cardreader.cpp Farm mode: cache filenames in the presort function 2022-10-17 20:17:28 +02:00
cardreader.h Reduce a few magic numbers for FILENAME_LENGTH 2022-08-26 19:26:26 +03:00
cmdqueue.cpp Merge branch 'MK3' into MK3_MMU2_fix1 2022-09-21 15:18:44 +02:00
cmdqueue.h Do not reset line on serial commands without N 2022-09-21 10:19:16 +02:00
config.h cmake: Define FW_VARIANT instead of copying Configuration_prusa 2022-10-05 01:26:30 +02:00
conv2str.cpp ftostr12ns: change xx from long to int 2022-08-26 19:28:36 +03:00
conv2str.h
doxyfile
eeprom.cpp PFW-1397 Allocate EEPROM memory for toolchange counter 2022-11-08 13:49:40 +01:00
eeprom.h PFW-1397 Allocate EEPROM memory for toolchange counter 2022-11-08 13:49:40 +01:00
fancheck.cpp rename `Extruder fan` to `Hotend fan` 2022-10-17 13:49:18 +02:00
fancheck.h Simplify fan checks now that lcd pause works correctly 2022-07-25 17:30:22 +02:00
fastio.h Change arduino IO to fastio where possible 2022-01-30 11:22:43 +00:00
first_lay_cal.cpp Sync first layer purge line with PrusaSlicer generated output 2022-10-09 10:03:54 +00:00
first_lay_cal.h
heatbed_pwm.cpp Remove unnecessary assignment 2021-06-21 06:47:59 +02:00
la10compat.cpp Re-adjust LA10->15 conversion 2020-09-07 21:44:34 +02:00
la10compat.h
language.c Update config.h translation documentation and move language to group2 2022-09-14 11:33:24 +02:00
language.h Update config.h translation documentation and move language to group2 2022-09-14 11:33:24 +02:00
lcd.cpp further optimise lcdui_print_status_line 2022-11-13 09:29:37 +01:00
lcd.h further optimise lcdui_print_status_line 2022-11-13 09:29:37 +01:00
le.sh
macros.h Use timer3 instead of timer5 on miniRambo 2022-08-24 10:18:45 +03:00
menu.cpp PFW-1397 Drop ON_MENU_ENTER 2022-11-08 13:49:40 +01:00
menu.h fixup 2022-11-08 13:49:40 +01:00
mesh_bed_calibration.cpp Use raise_z in more places 2022-09-16 10:23:47 +02:00
mesh_bed_calibration.h Optimise if-statments in world2machine_clamp 2022-02-01 18:37:41 +00:00
mesh_bed_leveling.cpp Use memset instead of nested for-loop to zero a 2d array 2021-08-02 19:20:51 +00:00
mesh_bed_leveling.h Remove undefined function 2022-01-30 11:39:29 +00:00
messages.cpp rename `Extruder fan` to `Hotend fan` 2022-10-17 13:49:18 +02:00
messages.h rename `Extruder fan` to `Hotend fan` 2022-10-17 13:49:18 +02:00
mmu2.cpp Don't raise MMU error screen until retry is done 2022-11-12 18:47:10 +01:00
mmu2.h Don't raise MMU error screen until retry is done 2022-11-12 18:47:10 +01:00
mmu2_crc.cpp Upgrade protocol to v2.1 - read/write registers + CRC 2022-09-16 10:22:38 +02:00
mmu2_crc.h Upgrade protocol to v2.1 - read/write registers + CRC 2022-09-16 10:22:38 +02:00
mmu2_error_converter.cpp Bump up Revision to ALPHA1 6051 2022-11-04 10:21:39 +01:00
mmu2_error_converter.h cleanup: Do not return const values from functions 2022-09-30 12:55:47 +02:00
mmu2_fsensor.cpp Reuse FSensor runout blocking impl. throughout the whole FW 2022-09-16 10:22:38 +02:00
mmu2_fsensor.h Reuse FSensor runout blocking impl. throughout the whole FW 2022-09-16 10:22:38 +02:00
mmu2_log.cpp Disable `Error:` messages for MMU2 errors 2022-11-03 12:09:03 +01:00
mmu2_log.h Disable `Error:` messages for MMU2 errors 2022-11-03 12:09:03 +01:00
mmu2_power.cpp build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
mmu2_power.h MMU2 interface overhaul 2022-09-16 10:21:53 +02:00
mmu2_progress_converter.cpp cleanup: Do not return const values from functions 2022-09-30 12:55:47 +02:00
mmu2_progress_converter.h cleanup: Do not return const values from functions 2022-09-30 12:55:47 +02:00
mmu2_protocol.cpp cleanup: Remove implicit fallthrough in CRC validation 2022-09-30 12:55:47 +02:00
mmu2_protocol.h Implement read/write registers for M707/M708 2022-09-16 10:23:47 +02:00
mmu2_protocol_logic.cpp Increase required MMU version to 2.1.4.x 2022-10-12 07:45:13 +02:00
mmu2_protocol_logic.h Intercept M708 A0xb: set ExtraLoadDistance on the printer side too 2022-10-11 15:51:01 +02:00
mmu2_reporting.cpp Bump up Revision to ALPHA1 6051 2022-11-04 10:21:39 +01:00
mmu2_reporting.h PFW-1403 Fix issue where physical MMU buttons do not dismiss error screen 2022-10-08 08:51:32 +00:00
mmu2_serial.cpp cleanup: Remove return value from MMU2Serial::write() 2022-09-30 12:55:47 +02:00
mmu2_serial.h cleanup: Remove return value from MMU2Serial::write() 2022-09-30 12:55:47 +02:00
motion_control.cpp Multi-segment pause resume initial 2022-08-24 20:19:26 +03:00
motion_control.h Multi-segment pause resume initial 2022-08-24 20:19:26 +03:00
optiboot_xflash.cpp Merge remote-tracking branch 'upstream/MK3_3.11.1' into mk311_sync 2022-07-04 16:14:23 +02:00
optiboot_xflash.h Rename w25x20cl to xflash 2021-04-06 10:16:47 +02:00
pat9125.cpp build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
pat9125.h Cleanup pat9125.h 2022-09-16 10:17:04 +02:00
pins.h Move SDA/SCL pins into pins.h for fastio compatibility 2021-01-29 17:48:59 +01:00
pins_Einsy_1_0.h Use timer3 instead of timer5 on miniRambo 2022-08-24 10:18:45 +03:00
pins_Rambo_1_0.h rename `Extruder fan` to `Hotend fan` 2022-10-17 13:49:18 +02:00
pins_Rambo_1_3.h rename `Extruder fan` to `Hotend fan` 2022-10-17 13:49:18 +02:00
planner.cpp Remove active_extruder completely 2022-09-16 10:22:38 +02:00
planner.h Remove active_extruder completely 2022-09-16 10:22:38 +02:00
printers.h
qr_solve.cpp
qr_solve.h
rbuf.c
rbuf.h
sm4.c build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
sm4.h Fix sm4.h line ending 2021-01-22 18:57:24 +02:00
sound.cpp Fix misleading indentation warnings by expanding tabs 2021-06-21 06:52:52 +02:00
sound.h Prune most of TODO from mmu2.cpp 2022-09-16 10:21:53 +02:00
speed_lookuptable.cpp
speed_lookuptable.h Fix MUL24x24R24 comment 2022-02-09 00:26:46 +01:00
spi.c
spi.h
static_assert.h
stepper.cpp MMU2 interface overhaul 2022-09-16 10:21:53 +02:00
stepper.h Checkpoint: jam detection 2022-09-16 10:20:32 +02:00
stk500.h
strlen_cx.h MMU2 interface overhaul 2022-09-16 10:21:53 +02:00
swi2c.c build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
swi2c.h Add disable() to swi2c as well 2022-09-16 10:06:26 +02:00
swspi.cpp
swspi.h
system_timer.h Move millis_nc to system_timer.h 2022-07-18 17:53:27 +02:00
temp_model.h Temp Model cal. menu 2022-10-26 13:34:27 +02:00
temperature.cpp Fix typo 2022-11-02 10:09:32 +01:00
temperature.h Temp Model cal. menu 2022-10-26 13:34:27 +02:00
thermistortables.h Implement MIN/MAX AMBIENT safety checks 2020-08-01 17:38:10 +02:00
timer02.c split timer0 and timer2 initialization. Move timer2 init early 2021-01-31 17:18:32 +02:00
timer02.h split timer0 and timer2 initialization. Move timer2 init early 2021-01-31 17:18:32 +02:00
tmc2130.cpp Make the diag pins open collector with pullup. 2022-09-14 07:39:47 +02:00
tmc2130.h Scale extruder motor current linearly with speed. (#2813) 2021-04-23 16:06:28 +02:00
tone04.c build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
tone04.h ALTFAN implementation (#2692) 2020-06-01 17:58:15 +02:00
twi.cpp twi safe init 2022-09-16 10:06:26 +02:00
twi.h Shorter TWI timeout 2022-09-16 10:06:26 +02:00
uart2.c Increase RX buffer size 2022-09-16 10:21:53 +02:00
uart2.h Implement mmu2 serial interface 2022-09-16 10:21:53 +02:00
ultralcd.cpp further optimise lcdui_print_status_line 2022-11-13 09:29:37 +01:00
ultralcd.h Fix typo 2022-11-02 10:09:32 +01:00
uni_avr_rpi.h
util.cpp Fix lost changes during rebase 2022-09-16 10:23:47 +02:00
util.h Fix lost changes during rebase 2022-09-16 10:23:47 +02:00
vector_3.cpp
vector_3.h
xflash.c xflash: add xflash_multipage_program and documentation 2021-06-08 15:25:16 +02:00
xflash.h xflash: add xflash_multipage_program and documentation 2021-06-08 15:25:16 +02:00
xflash_dump.cpp Simplify GETPC() 2022-02-02 21:06:58 +01:00
xflash_dump.h Crash if pullups get enabled on the thermistor inputs 2022-02-01 12:34:07 +01:00
xflash_layout.h Make layout static regardless of what is enabled 2022-02-17 09:34:09 +01:00
xyzcal.cpp build: Add Configuration_var.h as a configuration wrapper 2022-10-05 01:26:26 +02:00
xyzcal.h Calibration: detect biased PINDA and retry calibration 2021-03-12 05:04:49 +01:00