Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 20, 2019. It is now read-only.

Commit

Permalink
Since server now handles merged state-changes correctly, use larger b…
Browse files Browse the repository at this point in the history
…uffer in CWOutput

Larger buffer is used and merged state-changes are send when long UP-state needs to be
refreshed (with state-up-to-down + state-down-to-up duplet).

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
  • Loading branch information
jkivilin committed May 4, 2012
1 parent 905a793 commit a7895c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fi_81/cwp_morse_mangle/cwp/CWOutput.java
Expand Up @@ -42,7 +42,7 @@ public CWOutput(ByteBuffer bb, long connectionStartTime) {

if (bb == null) {
/* Allocate IO buffer and set it to big-endian byteorder */
outBuf = ByteBuffer.allocate(4);
outBuf = ByteBuffer.allocateDirect(128);
outBuf.order(ByteOrder.BIG_ENDIAN);
} else {
outBuf = bb;
Expand Down

0 comments on commit a7895c9

Please sign in to comment.