Skip to content

Commit 839d92b

Browse files
committed
Remove PacketLoss widget from Playback Mode
1 parent 0f73ecc commit 839d92b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

OpenBCI_GUI/WidgetManager.pde

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,11 @@ class WidgetManager{
152152
widgets.add(w_analogRead);
153153
}
154154

155-
w_packetLoss = new W_PacketLoss(_this);
156-
w_packetLoss.setTitle("Packet Loss");
157-
widgets.add(w_packetLoss);
155+
if (currentBoard instanceof Board) {
156+
w_packetLoss = new W_PacketLoss(_this);
157+
w_packetLoss.setTitle("Packet Loss");
158+
widgets.add(w_packetLoss);
159+
}
158160

159161
w_marker = new W_Marker(_this);
160162
w_marker.setTitle("Marker");

0 commit comments

Comments
 (0)