Revision: 6989 http://playerstage.svn.sourceforge.net/playerstage/?rev=6989&view=rev Author: thjc Date: 2008-08-30 01:40:04 +0000 (Sat, 30 Aug 2008)
Log Message: ----------- applied [ 2082498 ] fixed Geometry-Request Modified Paths: -------------- code/player/branches/release-2-1-patches/server/drivers/actarray/amtecM5.cc Modified: code/player/branches/release-2-1-patches/server/drivers/actarray/amtecM5.cc =================================================================== --- code/player/branches/release-2-1-patches/server/drivers/actarray/amtecM5.cc 2008-08-29 23:38:35 UTC (rev 6988) +++ code/player/branches/release-2-1-patches/server/drivers/actarray/amtecM5.cc 2008-08-30 01:40:04 UTC (rev 6989) @@ -614,14 +614,14 @@ pclDevice->getConfig(idModuleList[i],&configword); uint8_t hasbrakes=0; - if (configword && CONFIGID_MOD_BRAKE_PRESENT) { + if (configword & CONFIGID_MOD_BRAKE_PRESENT) { hasbrakes=1; } else { hasbrakes=0; } uint8_t type=0; - if (configword && CONFIGID_MOD_LINEAR) { + if (configword & CONFIGID_MOD_LINEAR) { type=PLAYER_ACTARRAY_TYPE_LINEAR; } else { type=PLAYER_ACTARRAY_TYPE_ROTARY; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit