auto-sync
This commit is contained in:
parent
1955a7c220
commit
d60a065eb2
|
@ -52,7 +52,7 @@ void setMazda626EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
// http://i.imgur.com/fclVzvu.jpg
|
||||
setCommonNTCSensor(&engineConfiguration->clt);
|
||||
// http://i.imgur.com/2hI67yW.jpg
|
||||
setThermistorConfiguration(&engineConfiguration->iat, 20, 33000, 50, 9000, 90.0, 2700);
|
||||
setThermistorConfiguration(&engineConfiguration->iat, 13, 56000, 50, 9000, 90.0, 2700);
|
||||
|
||||
commonFrankensoAnalogInputs(engineConfiguration);
|
||||
// engineConfiguration->map.sensor.hwChannel = EFI_ADC_4;
|
||||
|
|
|
@ -80,11 +80,17 @@ public class SensorCentral {
|
|||
synchronized (allListeners) {
|
||||
listeners = allListeners.get(sensor);
|
||||
}
|
||||
|
||||
// todo: make this just a normal listener?
|
||||
applyValueToTables(value, sensor, isUpdated);
|
||||
|
||||
if (listeners == null)
|
||||
return;
|
||||
for (SensorListener listener : listeners)
|
||||
listener.onSensorUpdate(value);
|
||||
}
|
||||
|
||||
private void applyValueToTables(double value, final Sensor sensor, boolean isUpdated) {
|
||||
ResponseImpl r = new ResponseImpl();
|
||||
|
||||
LoggerData d = new LoggerData() {
|
||||
|
|
|
@ -34,7 +34,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
|||
* @see com.rusefi.StartupFrame
|
||||
*/
|
||||
public class Launcher {
|
||||
public static final int CONSOLE_VERSION = 20150312;
|
||||
public static final int CONSOLE_VERSION = 20150313;
|
||||
public static final boolean SHOW_STIMULATOR = false;
|
||||
public static final String TAB_INDEX = "main_tab";
|
||||
private final String port;
|
||||
|
|
Loading…
Reference in New Issue