Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
retrodaredevil committed May 30, 2021
1 parent 40107e8 commit 1d2b9a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ private void send(PacketCollection packetCollection) {
for (Packet packet : packetCollection.getPackets()) {
if (packet instanceof RoverStatusPacket) {
RoverStatusPacket rover = (RoverStatusPacket) packet;
String data = rover.getProductModel() + "," + rover.getRatedChargingCurrentValue();
String data = "(" + rover.getNumber() + ") " + rover.getProductModel() + "," + rover.getRatedChargingCurrentValue();
if (!rover.supportsMesLoad()) {
data += ",no MES Load";
}
analyticsManager.sendRoverStatus(data, timer.getUptimeHours());
return;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public static int connectMate(MateProgramOptions options, File dataDirectory) th
LOGGER.debug("IO Bundle File: " + options.getIOBundleFile());
try(IOBundle io = createIOBundle(options)) {

// TODO mate analytics
EnvironmentUpdater[] environmentUpdaterReference = new EnvironmentUpdater[1];
PacketHandlerInit.Result handlersResult = PacketHandlerInit.initHandlers(
options,
Expand Down

0 comments on commit 1d2b9a5

Please sign in to comment.