]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
Change display colors, the LED bar is green and the text display is red.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Jan 2007 00:27:42 +0000 (00:27 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Jan 2007 00:27:42 +0000 (00:27 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2336 c046a42c-6fe2-441c-8c8c-71466251a162

hw/mips_malta.c

index 2c838a5b0bbc05eed216e5b93110be6f06487075..bee29db0d0dd3286be29dbf33abfec035a376a76 100644 (file)
@@ -81,8 +81,8 @@ static void malta_fpga_update_display(void *opaque)
     }
     leds_text[8] = '\0';
 
-    qemu_chr_printf(s->display, "\e[H\n\n|\e[31m%-8.8s\e[00m|\r\n", leds_text);
-    qemu_chr_printf(s->display, "\n\n\n\n|\e[32m%-8.8s\e[00m|", s->display_text);
+    qemu_chr_printf(s->display, "\e[H\n\n|\e[32m%-8.8s\e[00m|\r\n", leds_text);
+    qemu_chr_printf(s->display, "\n\n\n\n|\e[31m%-8.8s\e[00m|", s->display_text);
 }
 
 static uint32_t malta_fpga_readl(void *opaque, target_phys_addr_t addr)