progress
This commit is contained in:
parent
d4c4482107
commit
dc2796ad15
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="mockito-all-1.10.19">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/mockito-all-1.10.19.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/mockito-all-1.10.19.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
|
@ -15,6 +15,6 @@
|
|||
<orderEntry type="module" module-name="models" exported="" />
|
||||
<orderEntry type="library" exported="" name="annotations" level="project" />
|
||||
<orderEntry type="module" module-name="inifile" exported="" />
|
||||
<orderEntry type="library" scope="TEST" name="org.mockito:mockito-all:1.10.19" level="project" />
|
||||
<orderEntry type="library" name="mockito-all-1.10.19" level="project" />
|
||||
</component>
|
||||
</module>
|
|
@ -417,7 +417,9 @@ public class BinaryProtocol implements BinaryProtocolCommands {
|
|||
// that's unusual - most of the protocol is LITTLE_ENDIAN
|
||||
bb.order(ByteOrder.BIG_ENDIAN);
|
||||
int crcFromController = bb.getInt();
|
||||
log.info(String.format("From rusEFI CRC %x\n", crcFromController));
|
||||
log.info(String.format("From rusEFI tune CRC32 %x %d\n", crcFromController, crcFromController));
|
||||
short crc16FromController = (short) crcFromController;
|
||||
log.info(String.format("From rusEFI tune CRC16 %x %d\n", crc16FromController, crc16FromController));
|
||||
if (crcOfLocallyCachedConfiguration == crcFromController) {
|
||||
return localCached;
|
||||
}
|
||||
|
|
|
@ -24,14 +24,7 @@ public class MessagesView {
|
|||
|
||||
private boolean isPaused;
|
||||
|
||||
protected final JTextPane messages = new JTextPane() {
|
||||
@Override
|
||||
public void setVisible(boolean aFlag) {
|
||||
super.setVisible(aFlag);
|
||||
// todo: get focus on startup somehow
|
||||
// anyCommand.getText().requestFocus();
|
||||
}
|
||||
};
|
||||
protected final JTextPane messages = new JTextPane();
|
||||
public final JScrollPane messagesScroll = new JScrollPane(messages, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
|
||||
|
||||
public MessagesView() {
|
||||
|
|
Loading…
Reference in New Issue