Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 260:e1cd6848863d
increase immunity against false Qi data
author | heinrichsweikamp |
---|---|
date | Tue, 24 Mar 2015 19:48:17 +0100 |
parents | 5b4ef0b9090d |
children | e2fd372a917a |
comparison
equal
deleted
inserted
replaced
259:151148e2281f | 260:e1cd6848863d |
---|---|
2458 ; | 2458 ; |
2459 global TFT_serial | 2459 global TFT_serial |
2460 TFT_serial: | 2460 TFT_serial: |
2461 WIN_TINY .5,.225 | 2461 WIN_TINY .5,.225 |
2462 STRCPY "OSTC" ; Won't translate that... | 2462 STRCPY "OSTC" ; Won't translate that... |
2463 btfsc rechargeable | 2463 |
2464 movlw 0x0A | |
2465 cpfseq hardware_flag | |
2464 bra TFT_serial2 | 2466 bra TFT_serial2 |
2465 STRCAT "3 #" | 2467 STRCAT "3 #" |
2468 bra TFT_serial_common | |
2469 TFT_serial2: | |
2470 movlw 0x05 | |
2471 cpfseq hardware_flag | |
2466 bra TFT_serial3 | 2472 bra TFT_serial3 |
2467 TFT_serial2: | |
2468 STRCAT " cR #" | 2473 STRCAT " cR #" |
2474 bra TFT_serial_common | |
2469 TFT_serial3: | 2475 TFT_serial3: |
2476 movlw 0x11 | |
2477 cpfseq hardware_flag | |
2478 bra TFT_serial4 | |
2479 STRCAT "2 #" | |
2480 bra TFT_serial_common | |
2481 TFT_serial4: | |
2482 movlw 0x1A | |
2483 cpfseq hardware_flag | |
2484 bra TFT_serial5 | |
2485 STRCAT "3 #" | |
2486 ; bra TFT_serial_common | |
2487 TFT_serial5: | |
2488 TFT_serial_common: | |
2470 rcall TFT_cat_serial | 2489 rcall TFT_cat_serial |
2471 | |
2472 STRCAT " v" | 2490 STRCAT " v" |
2473 WIN_COLOR color_greenish | 2491 WIN_COLOR color_greenish |
2474 rcall TFT_cat_firmware | 2492 rcall TFT_cat_firmware |
2475 | 2493 |
2476 ifdef __DEBUG | 2494 ifdef __DEBUG |