fw/app/layer1: unset the inverted attribute of the display after layer1_init()

This attribute is toggled with the RTC interrupt, which is disabled
in layer1_init(). If an interrupt between rtc_init() and layer1_init()
occured, the display of the E88 phones remained inverted

Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
Steve Markgraf 2011-01-18 20:50:36 +01:00
parent e83f3a9308
commit 524de77ac4
1 changed files with 2 additions and 1 deletions

View File

@ -69,11 +69,12 @@ int main(void)
calypso_clk_dump();
puts(hr);
display_set_attr(DISP_ATTR_INVERT);
display_puts("layer1.bin");
layer1_init();
display_unset_attr(DISP_ATTR_INVERT);
tpu_frame_irq_en(1, 1);
while (1) {