X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Fbetty.c;h=163a8e23281eb97d2a5c71e1be8bd8bc8c9830c7;hp=e5923e9855cb05193b28cc455f2669114b86c861;hb=818f43a5586b5c7fa441a8d44405d7b5279e8235;hpb=b02acd993d27fd99503d9c9c53e10b19ec1c207c diff --git a/betty/betty.c b/betty/betty.c index e5923e9..163a8e2 100644 --- a/betty/betty.c +++ b/betty/betty.c @@ -23,7 +23,6 @@ int main() { char announce[]="betty - live from flash at 0x80000000! ;)\r\n"; t_button button; u8 contrast; - int cnt; /* system init */ pll_init(); @@ -81,6 +80,9 @@ int main() { contrast+=1; DISPLAY_SET_CONTRAST(contrast); break; + case BUTTON_TV: + display_fill_screen(button.key[0]); + break; default: display_clear_screen(); break;