Merge branch 'master' of https://github.com/rusefi/rusefi
This commit is contained in:
commit
a6d635d141
|
@ -11,9 +11,9 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
||||||
* <p/>
|
* <p/>
|
||||||
* Date: 1/6/13
|
* Date: 1/6/13
|
||||||
* Andrey Belomutskiy, (c) 2013-2020
|
* Andrey Belomutskiy, (c) 2013-2020
|
||||||
|
* @see SensorLog
|
||||||
*/
|
*/
|
||||||
public class SensorCentral implements ISensorCentral {
|
public class SensorCentral implements ISensorCentral {
|
||||||
public static final String RPM_KEY = "rpm";
|
|
||||||
private static final SensorCentral INSTANCE = new SensorCentral();
|
private static final SensorCentral INSTANCE = new SensorCentral();
|
||||||
|
|
||||||
private final SensorsHolder sensorsHolder = new SensorsHolder();
|
private final SensorsHolder sensorsHolder = new SensorsHolder();
|
||||||
|
|
|
@ -82,14 +82,12 @@ public class SensorLogger {
|
||||||
Sensor.engineMakeCodeNameCrc16,
|
Sensor.engineMakeCodeNameCrc16,
|
||||||
Sensor.tuneCrc16,
|
Sensor.tuneCrc16,
|
||||||
};
|
};
|
||||||
private final UIContext uiContext;
|
|
||||||
|
|
||||||
private List<SensorLog> sensorLogs;
|
private final List<SensorLog> sensorLogs;
|
||||||
|
|
||||||
private boolean isInitialized;
|
private boolean isInitialized;
|
||||||
|
|
||||||
public SensorLogger(UIContext uiContext) {
|
public SensorLogger(UIContext uiContext) {
|
||||||
this.uiContext = uiContext;
|
|
||||||
sensorLogs = Arrays.asList(new PlainTextSensorLog(uiContext), new BinarySensorLogRestarter());
|
sensorLogs = Arrays.asList(new PlainTextSensorLog(uiContext), new BinarySensorLogRestarter());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue