[openfirmware] [commit] r3535 - cpu/arm/olpc

repository service svn at openfirmware.info
Tue Feb 5 05:01:24 CET 2013


Author: quozl
Date: Tue Feb  5 05:01:23 2013
New Revision: 3535
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3535

Log:
OLPC XO-4 - touchscreen, avoid mouse test targets when using test phase 4, reported by Chia-Hsiu.

Modified:
   cpu/arm/olpc/nn-touchscreen.fth
   cpu/arm/olpc/touchscreen-common.fth

Modified: cpu/arm/olpc/nn-touchscreen.fth
==============================================================================
--- cpu/arm/olpc/nn-touchscreen.fth	Tue Feb  5 04:10:29 2013	(r3534)
+++ cpu/arm/olpc/nn-touchscreen.fth	Tue Feb  5 05:01:23 2013	(r3535)
@@ -905,7 +905,7 @@
    cursor-off
    consume
    flush
-   background
+   blacken
    -1 to remaining
 ;
 

Modified: cpu/arm/olpc/touchscreen-common.fth
==============================================================================
--- cpu/arm/olpc/touchscreen-common.fth	Tue Feb  5 04:10:29 2013	(r3534)
+++ cpu/arm/olpc/touchscreen-common.fth	Tue Feb  5 05:01:23 2013	(r3535)
@@ -111,8 +111,12 @@
 
 : undot  ( -- )  pixcolor @  dup dimmer  " replace-color" $call-screen  ;
 
-: background  ( -- )
+: blacken  ( -- )
    black  0 0  screen-w screen-h  fill-rectangle-noff
+;
+
+: background  ( -- )
+   blacken
    targets?  if
       false to left-hit?
       false to right-hit?



More information about the openfirmware mailing list