mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
Don't start metrics thread if not on linux (#93)
This commit is contained in:
@@ -59,7 +59,7 @@ public class HardwareManager {
|
||||
});
|
||||
|
||||
// Start hardware metrics thread
|
||||
MetricsPublisher.getInstance().startTask();
|
||||
if (Platform.isLinux()) MetricsPublisher.getInstance().startTask();
|
||||
}
|
||||
|
||||
/** Example: HardwareManager.getInstance().getPWM(port).dimLEDs(int dimValue); */
|
||||
|
||||
Reference in New Issue
Block a user