auto-sync
This commit is contained in:
parent
dc1082de6a
commit
e9ec6a29c5
|
@ -72,7 +72,8 @@ void setDodgeRam1996(DECLARE_ENGINE_PARAMETER_F) {
|
|||
boardConfiguration->idle.solenoidFrequency = 300;
|
||||
|
||||
engineConfiguration->vbattAdcChannel = EFI_ADC_14;
|
||||
engineConfiguration->vbattDividerCoeff = ((float) (9.02 + 41.1)) / 9.02 * 2;
|
||||
// engineConfiguration->vbattDividerCoeff = ((float) (8.93 + 41.27)) / 8.93 * 2;
|
||||
engineConfiguration->vbattDividerCoeff = 9.6;
|
||||
|
||||
setDodgeSensor(&engineConfiguration->clt);
|
||||
engineConfiguration->clt.bias_resistor = 2700;
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 975 B |
|
@ -24,7 +24,7 @@ public class RecentCommands {
|
|||
private static final String KEY = "recent_commands";
|
||||
private static final String DELIMETER = "|";
|
||||
|
||||
private final JPanel content = new JPanel(new GridLayout(NUMBER_OF_COMMANDS, 1));
|
||||
private final JPanel content = new JPanel(new GridLayout(NUMBER_OF_COMMANDS + 1, 1));
|
||||
|
||||
private final LinkedHashMap<Entry, Object> entries = new LinkedHashMap<Entry, Object>() {
|
||||
@Override
|
||||
|
@ -78,9 +78,8 @@ public class RecentCommands {
|
|||
|
||||
add("sparkbench 5 400 2");
|
||||
add("fuelbench 5 400 2");
|
||||
add("fuelpumpbench");
|
||||
add("fanbench");
|
||||
add("milbench");
|
||||
add("altinfo");
|
||||
add("accelinfo");
|
||||
}
|
||||
|
||||
public void add(String command) {
|
||||
|
@ -92,8 +91,21 @@ public class RecentCommands {
|
|||
@Override
|
||||
public void run() {
|
||||
content.removeAll();
|
||||
JButton reset = new JButton(UiUtils.loadIcon("undo.jpg"));
|
||||
reset.setContentAreaFilled(false);
|
||||
reset.setFocusPainted(false);
|
||||
reset.setBorder(BorderFactory.createEmptyBorder());
|
||||
content.add(UiUtils.wrap(reset));
|
||||
reset.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
entries.clear();
|
||||
addDefaults();
|
||||
}
|
||||
});
|
||||
|
||||
synchronized (entries) {
|
||||
Set<Entry> sorted = new TreeSet<Entry>();
|
||||
Set<Entry> sorted = new TreeSet<>();
|
||||
sorted.addAll(entries.keySet());
|
||||
|
||||
for (Entry entry : sorted) {
|
||||
|
|
Loading…
Reference in New Issue