mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-03-29 03:30:06 +00:00
get/set for elf module
This commit is contained in:
parent
5def17f4fa
commit
759b98d05c
@ -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: MspMote.java,v 1.4 2008/03/19 15:17:59 fros4943 Exp $
|
* $Id: MspMote.java,v 1.5 2008/03/19 17:23:47 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.mspmote;
|
package se.sics.cooja.mspmote;
|
||||||
@ -60,7 +60,7 @@ public abstract class MspMote implements Mote {
|
|||||||
private MspMoteType myMoteType = null;
|
private MspMoteType myMoteType = null;
|
||||||
private MspMoteMemory myMemory = null;
|
private MspMoteMemory myMemory = null;
|
||||||
private MoteInterfaceHandler myMoteInterfaceHandler = null;
|
private MoteInterfaceHandler myMoteInterfaceHandler = null;
|
||||||
public ELF myELFModule = null;
|
private ELF myELFModule = null;
|
||||||
|
|
||||||
protected TR1001Radio myRadio = null; /* TODO Only used by ESB (TR1001) */
|
protected TR1001Radio myRadio = null; /* TODO Only used by ESB (TR1001) */
|
||||||
|
|
||||||
@ -115,6 +115,13 @@ public abstract class MspMote implements Mote {
|
|||||||
myMemory = (MspMoteMemory) memory;
|
myMemory = (MspMoteMemory) memory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return ELF module
|
||||||
|
*/
|
||||||
|
public ELF getELF() {
|
||||||
|
return myELFModule;
|
||||||
|
}
|
||||||
|
|
||||||
public Simulation getSimulation() {
|
public Simulation getSimulation() {
|
||||||
return mySimulation;
|
return mySimulation;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user