Author: quozl Date: Thu Sep 6 10:23:20 2012 New Revision: 3297 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3297
Log: OLPC XO-4 - Neonode, adjacent axis tests, increase box array to cover used size for photodiode edges, remove debugging.
Modified: cpu/arm/olpc/nn-touchscreen.fth
Modified: cpu/arm/olpc/nn-touchscreen.fth ============================================================================== --- cpu/arm/olpc/nn-touchscreen.fth Thu Sep 6 10:11:52 2012 (r3296) +++ cpu/arm/olpc/nn-touchscreen.fth Thu Sep 6 10:23:20 2012 (r3297) @@ -736,13 +736,11 @@ 0 value dx 0 value dy
-xleds yleds * constant /boxen +xleds 1+ yleds 1+ * constant /boxen create boxen /boxen allot \ non-zero means box is expected to be hit
: 0boxen ( -- ) boxen /boxen erase ; -: >boxen ( bx by -- addr ) xleds * + - dup /boxen > if debug-me then - boxen + ; +: >boxen ( bx by -- addr ) xleds * + boxen + ;
: dxdy ( xleds yleds -- ) 0boxen
openfirmware@openfirmware.info