From ec690f3f7e3fa45a9865e618f2e609683633b95f Mon Sep 17 00:00:00 2001 From: razvanm Date: Tue, 15 Jan 2008 19:14:50 +0000 Subject: [PATCH] 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. --- tos/lib/net/Deluge/DelugeManagerP.nc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2