added support for test mode to the rest of the code

git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4180 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/aos/atom_code/input/FRCComm.h b/aos/atom_code/input/FRCComm.h
index 3d2f4c0..14c4602 100644
--- a/aos/atom_code/input/FRCComm.h
+++ b/aos/atom_code/input/FRCComm.h
@@ -26,10 +26,13 @@
 	UINT16 packetIndex;
 	union {
 		UINT8 control;
+    // The order of the bits has to be flipped on little-endian machines (aka
+    // everything other than the cRIO that we build for) in order for it to
+    // work. Upstream WPILib does this based off of a different macro.
+#ifndef __VXWORKS__
 		struct {
-			/*the order of these are flipped on the fit pc side to make it work*/
-			UINT8 fpgaChkSum :1;
-			UINT8 cRIOChkSum :1;
+			UINT8 checkVersions :1;
+			UINT8 test :1;
 			UINT8 resync : 1;
 			UINT8 fmsAttached:1;
 			UINT8 autonomous : 1;
@@ -37,6 +40,18 @@
 			UINT8 notEStop : 1;
 			UINT8 reset : 1;
 		};
+#else
+		struct {
+			UINT8 reset : 1;
+			UINT8 notEStop : 1;
+			UINT8 enabled : 1;
+			UINT8 autonomous : 1;
+			UINT8 fmsAttached:1;
+			UINT8 resync : 1;
+			UINT8 test :1;
+			UINT8 checkVersions :1;
+		};
+#endif
 	};
 	UINT8 dsDigitalIn;
 	UINT16 teamID;