# HG changeset patch # User heinrichsweikamp # Date 1520693098 -3600 # Node ID 8a7d2d8bcd33c3b55cc0b914eac694d09c8ad581 # Parent bf0c76e9b01b07ae776a2a7adba5983289dbc015 limit string length to 4 digits/chars in average depth diff -r bf0c76e9b01b -r 8a7d2d8bcd33 src/tft_outputs.asm --- a/src/tft_outputs.asm Sat Mar 10 15:39:33 2018 +0100 +++ b/src/tft_outputs.asm Sat Mar 10 15:44:58 2018 +0100 @@ -1238,6 +1238,8 @@ WIN_MEDIUM dm_custom_avr_stop_column1,dm_custom_avr_stop_row bsf ignore_digit5 ; no cm output_16dp .3 ; yxz.a + clrf WREG + movff WREG,buffer+.4 ; limit string length to 4 digits/chars STRCAT_PRINT " " ; Stopped average depth movff avg_rel_pressure+0,lo