de-staticize some references in Client.java
authoradam <adam@megacz.com>
Mon, 3 Nov 2008 09:39:18 +0000 (10:39 +0100)
committeradam <adam@megacz.com>
Mon, 3 Nov 2008 09:39:18 +0000 (10:39 +0100)
src/edu/berkeley/fleet/fpga/Client.java

index 4d83c65..de8564e 100644 (file)
@@ -103,10 +103,10 @@ public class Client extends FleetProcess {
         try {
             Dock dispatchFrom = fpga.debugShip.getDock("in");
             long out = 0;
-            out = PACKET_DATA.setval(out, word);
-            out = PACKET_TOKEN.setval(out, token ? 1 : 0);
-            out = PACKET_SIGNAL.setval(out, 0);
-            out = PACKET_DEST.setval(out, ((FpgaPath)dispatchFrom.getPath(d, null)).toLong());
+            out = fpga.PACKET_DATA.setval(out, word);
+            out = fpga.PACKET_TOKEN.setval(out, token ? 1 : 0);
+            out = fpga.PACKET_SIGNAL.setval(out, 0);
+            out = fpga.PACKET_DEST.setval(out, ((FpgaPath)dispatchFrom.getPath(d, null)).toLong());
             synchronized(this) {
                 for(int i=7; i>=0; i--)
                     dos.write(BitManipulations.getIntField(i*8+7, i*8, out));