From 58ade51c5d838097ffb691a7da6e72f1439cdf32 Mon Sep 17 00:00:00 2001 From: razvanm Date: Fri, 18 Jan 2008 18:37:10 +0000 Subject: [PATCH] Properly save the TOS_NODE_ID before rebooting. The bug was reported by Weiping Song. --- tos/lib/net/Deluge/extra/NetProgM.nc | 1 + 1 file changed, 1 insertion(+) diff --git a/tos/lib/net/Deluge/extra/NetProgM.nc b/tos/lib/net/Deluge/extra/NetProgM.nc index ad39d254..478bad26 100644 --- a/tos/lib/net/Deluge/extra/NetProgM.nc +++ b/tos/lib/net/Deluge/extra/NetProgM.nc @@ -90,6 +90,7 @@ implementation { bootArgs.imageAddr = imgAddr; bootArgs.gestureCount = 0xff; bootArgs.noReprogram = FALSE; + bootArgs.address = TOS_NODE_ID; call IFlash.write((uint8_t*)TOSBOOT_ARGS_ADDR, &bootArgs, sizeof(bootArgs)); -- 2.39.2