mirror of https://github.com/rusefi/rusefi-1.git
refactoring
This commit is contained in:
parent
8e8ab90465
commit
09c6fe83d2
|
@ -29,12 +29,11 @@ public enum LiveDocsRegistry {
|
||||||
for (LiveDocHolder holder : liveDocs) {
|
for (LiveDocHolder holder : liveDocs) {
|
||||||
boolean visible = holder.isVisible();
|
boolean visible = holder.isVisible();
|
||||||
if (visible) {
|
if (visible) {
|
||||||
for (live_data_e context : holder.getActions().getActions().keySet()) {
|
live_data_e context = holder.getId();
|
||||||
refresh(binaryProtocol, holder, context);
|
refresh(binaryProtocol, holder, context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void refresh(BinaryProtocol binaryProtocol, LiveDocHolder holder, live_data_e context) {
|
private void refresh(BinaryProtocol binaryProtocol, LiveDocHolder holder, live_data_e context) {
|
||||||
Field[] values = StateDictionary.INSTANCE.getFields(context);
|
Field[] values = StateDictionary.INSTANCE.getFields(context);
|
||||||
|
|
Loading…
Reference in New Issue