comparison src/tft_outputs.asm @ 88:2a992aba61ef

fix minor display bug (battery percent)
author heinrichsweikamp
date Mon, 14 Apr 2014 15:59:16 +0200
parents 82750b8dfcee
children 3274e87fd027
comparison
equal deleted inserted replaced
87:82750b8dfcee 88:2a992aba61ef
2607 WIN_TINY batt_percent_column,batt_percent_row 2607 WIN_TINY batt_percent_column,batt_percent_row
2608 lfsr FSR2,buffer 2608 lfsr FSR2,buffer
2609 bsf leftbind 2609 bsf leftbind
2610 output_8 2610 output_8
2611 bcf leftbind 2611 bcf leftbind
2612 STRCAT_PRINT "%" 2612 STRCAT "% "
2613 movlw 0x00
2614 movff WREG,buffer+4 ; Only "xxx%"
2615 STRCAT_PRINT ""
2613 call TFT_standard_color 2616 call TFT_standard_color
2614 WIN_TINY batt_voltage_column,batt_voltage_row 2617 WIN_TINY batt_voltage_column,batt_voltage_row
2615 lfsr FSR2,buffer 2618 lfsr FSR2,buffer
2616 movff batt_voltage+0,lo 2619 movff batt_voltage+0,lo
2617 movff batt_voltage+1,hi 2620 movff batt_voltage+1,hi