Skip to content

Commit

Permalink
ContikiMoteType: use getMoteName()
Browse files Browse the repository at this point in the history
This is preparation for sharing code with MspMoteType.
  • Loading branch information
pjonsson committed Sep 21, 2022
1 parent 5ce2090 commit ebcecdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/contikios/cooja/contikimote/ContikiMoteType.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public boolean configureAndInit(Container parentContainer, Simulation simulation

if (visAvailable && !simulation.isQuickSetup()) {
if (getDescription() == null) {
setDescription("Cooja Mote Type #" + (simulation.getMoteTypes().length + 1));
setDescription(getMoteName() + " Mote Type #" + (simulation.getMoteTypes().length + 1));
}

if (!showCompilationDialog(simulation)) {
Expand Down

0 comments on commit ebcecdc

Please sign in to comment.