Mercurial > public > mk2
diff 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 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu.asm Wed Aug 10 21:53:17 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu.asm Thu Aug 11 13:30:29 2011 +0200 @@ -477,6 +477,11 @@ ; Display blank/red/green/blue screens until click, to test OLED ageing. show_rawdata_next: + ; display test draws more power then allowed -> potential hardware risk! +#ifndef DISPLAY_TEST + bra show_rawdata_exit +#endif + setf WREG WIN_BOX_COLOR .0,.240,.0,.160 rcall show_rawdata_screen_wait