creating flash interface

This commit is contained in:
fros4943 2008-04-01 08:09:35 +00:00
parent bc4c80f7c7
commit a6ddac2347

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: SkyMote.java,v 1.2 2008/03/17 09:54:19 fros4943 Exp $ * $Id: SkyMote.java,v 1.3 2008/04/01 08:09:35 fros4943 Exp $
*/ */
package se.sics.cooja.mspmote; package se.sics.cooja.mspmote;
@ -82,6 +82,10 @@ public class SkyMote extends MspMote {
Clock moteClock = new MspClock(this); Clock moteClock = new MspClock(this);
moteInterfaceHandler.addActiveInterface(moteClock); moteInterfaceHandler.addActiveInterface(moteClock);
// Add Flash interface
SkyFlash moteFlash = new SkyFlash(this);
moteInterfaceHandler.addActiveInterface(moteFlash);
// Add ID interface // Add ID interface
MoteID moteID = new MspMoteID(this); MoteID moteID = new MspMoteID(this);
moteInterfaceHandler.addActiveInterface(moteID); moteInterfaceHandler.addActiveInterface(moteID);