Skip to content

Conversation

@Ruthie-FRC
Copy link
Member

This pull request includes several small corrections and improvements to the battery tracking service configuration and the main Java application. The main changes address a service startup issue, simplify conditional logic, and remove unnecessary code.

Service configuration fix:

  • Updated the ExecStart command in batteryTracking.service to correctly use the -jar option when starting the Java application, ensuring the service launches properly.

Code cleanup and logic improvements in BatteryTracking.java:

  • Simplified a conditional in dumpCard() by replacing a negated equality check with a direct inequality, improving readability.
  • Removed an unnecessary semicolon in parseData() after a comment, cleaning up the code.
  • Removed an unnecessary semicolon in the consumeError() method, further tidying the code.

@Ruthie-FRC Ruthie-FRC marked this pull request as draft December 13, 2025 23:38
@Ruthie-FRC Ruthie-FRC marked this pull request as ready for review December 13, 2025 23:39
@Ruthie-FRC
Copy link
Member Author

@mstatistics

@Ruthie-FRC Ruthie-FRC closed this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant