Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu.asm @ 444:f6cdd0079c36
compiler switch for display tester
author | heinrichsweikamp |
---|---|
date | Thu, 11 Aug 2011 13:30:29 +0200 |
parents | efe06a146773 |
children | 6e57b5bb98ce |
comparison
equal
deleted
inserted
replaced
443:4c7f304de294 | 444:f6cdd0079c36 |
---|---|
475 | 475 |
476 bra show_rawdata_wait_1 | 476 bra show_rawdata_wait_1 |
477 | 477 |
478 ; Display blank/red/green/blue screens until click, to test OLED ageing. | 478 ; Display blank/red/green/blue screens until click, to test OLED ageing. |
479 show_rawdata_next: | 479 show_rawdata_next: |
480 ; display test draws more power then allowed -> potential hardware risk! | |
481 #ifndef DISPLAY_TEST | |
482 bra show_rawdata_exit | |
483 #endif | |
484 | |
480 setf WREG | 485 setf WREG |
481 WIN_BOX_COLOR .0,.240,.0,.160 | 486 WIN_BOX_COLOR .0,.240,.0,.160 |
482 rcall show_rawdata_screen_wait | 487 rcall show_rawdata_screen_wait |
483 movlw color_red | 488 movlw color_red |
484 WIN_BOX_COLOR .0,.240,.0,.160 | 489 WIN_BOX_COLOR .0,.240,.0,.160 |