]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/blip/nwprog/Deluge.h
Added support for program images larger than 65k in nwprog.
[tinyos-2.x.git] / tos / lib / net / blip / nwprog / Deluge.h
index 58489f2b23f79ea3899b8f15ff8502f710760068..f9c3cf32f3a35fd03f9bfff85b23343615d597a0 100644 (file)
@@ -110,9 +110,9 @@ typedef nx_struct prog_req {
   nx_uint8_t cmd;
   nx_uint8_t imgno;
   nx_union {
-    nx_uint16_t offset;
-    nx_uint16_t when;
-    nx_uint16_t nimages;
+    nx_uint32_t offset;
+    nx_uint32_t when;
+    nx_uint32_t nimages;
   } cmd_data;
   nx_uint8_t data[0];
 } prog_req_t;