tinyos/tinyos-main — pull request #177 by mcerveny (2013-03-25 10:06:30+00:00)
Title: DELUGE: The initialization of local address signals ActiveMessageAddress.changed() 

There is problem in Deluge start up. Deluge set up local address (TOS_NODE_ID and AMAddress) from IFlash storage (eeprom). That is (correctly) done in MainC.SoftwareInit.
But call setAmAddress() signals the change to all linked components (signal ActiveMessageAddress.changed()) that is not even initialized.

I replaced setAmAddress() to new initAmAddress() that does not signal ActiveMessageAddress.changed(). The initAmAddress() stands outside interface ActiveMessageAddress.

M.C>