diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/nds/libnds/basicARM7/source/defaultARM7.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/arm/nds/libnds/basicARM7/source/defaultARM7.c b/c/src/lib/libbsp/arm/nds/libnds/basicARM7/source/defaultARM7.c index ca9d39796a..6cb092f04b 100644 --- a/c/src/lib/libbsp/arm/nds/libnds/basicARM7/source/defaultARM7.c +++ b/c/src/lib/libbsp/arm/nds/libnds/basicARM7/source/defaultARM7.c @@ -53,13 +53,13 @@ touchPosition first,tempPos; void VcountHandler() { //--------------------------------------------------------------------------------- static int lastbut = -1; - + uint16 but=0, x=0, y=0, xpx=0, ypx=0, z1=0, z2=0; but = REG_KEYXY; if (!( (but ^ lastbut) & (1<<6))) { - + tempPos = touchReadXY(); if ( tempPos.x == 0 || tempPos.y == 0 ) { @@ -73,7 +73,7 @@ void VcountHandler() { z1 = tempPos.z1; z2 = tempPos.z2; } - + } else { lastbut = but; but |= (1 <<6); |