]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerP.nc
Fix the Deluge rollback gesture and increase the total number of Deluge images to...
[tinyos-2.x.git] / tos / lib / net / Deluge / FlashVolumeManager / FlashVolumeManagerP.nc
index 5c03b0ab13b1b679d6cfd72462f33b2bc7968cee..bf29d2b3bc273eaede1bf54402c11d6dbb922526 100644 (file)
@@ -162,11 +162,17 @@ implementation
     // Converts the image number that the user wants to the real image number
     switch (srpkt->img_num) {
       case 0:
-        img_num = VOLUME_DELUGE0;
+        img_num = VOLUME_GOLDENIMAGE;
         break;
       case 1:
         img_num = VOLUME_DELUGE1;
         break;
+      case 2:
+        img_num = VOLUME_DELUGE2;
+        break;
+      case 3:
+        img_num = VOLUME_DELUGE3;
+        break;
     }
     
     if (img_num != 0xFF) {