Author: wmb Date: Tue Dec 13 03:13:56 2011 New Revision: 2765 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2765
Log: EXC7200 touchscreen driver - added flush method.
Modified: cpu/arm/olpc/exc7200-touchscreen.fth
Modified: cpu/arm/olpc/exc7200-touchscreen.fth ============================================================================== --- cpu/arm/olpc/exc7200-touchscreen.fth Tue Dec 13 03:13:51 2011 (r2764) +++ cpu/arm/olpc/exc7200-touchscreen.fth Tue Dec 13 03:13:56 2011 (r2765) @@ -249,7 +249,7 @@ then ;
-: flush-touchpad ( -- ) begin pad? while 2drop 3drop repeat ; +: flush ( -- ) begin pad? while 2drop 3drop repeat ;
: selftest ( -- error? ) open 0= if @@ -274,7 +274,7 @@ begin key? while key drop repeat
\ Consume already-queued trackpad events to prevent premature exit - flush-touchpad + flush
background begin @@ -282,7 +282,7 @@ if track then exit-test? until
- flush-touchpad + flush
close cursor-on
openfirmware@openfirmware.info