From: razvanm Date: Tue, 15 Jan 2008 19:14:50 +0000 (+0000) Subject: Fix a bug which prevented the -r to use anything but the Golden Image slot. The probl... X-Git-Tag: release_tinyos_2_1_0_0~599 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=ec690f3f7e3fa45a9865e618f2e609683633b95f;hp=393339fd8aff0f610de20507d4b3c81c36d9d733;p=tinyos-2.x.git Fix a bug which prevented the -r to use anything but the Golden Image slot. The problem was reported by Weiping Song and Dimas Abreu Dutra. --- diff --git a/tos/lib/net/Deluge/DelugeManagerP.nc b/tos/lib/net/Deluge/DelugeManagerP.nc index d7146af9..15dbeedc 100644 --- a/tos/lib/net/Deluge/DelugeManagerP.nc +++ b/tos/lib/net/Deluge/DelugeManagerP.nc @@ -92,6 +92,7 @@ implementation break; case DELUGE_CMD_REPROGRAM: case DELUGE_CMD_REBOOT: + delugeCmd.imgNum = request->imgNum; call DelayTimer.startOneShot(1024); sendReply(SUCCESS); break;