#更新实时消息具体字段
This commit is contained in:
@@ -65,7 +65,7 @@ public class ControlUtils {
|
||||
}
|
||||
|
||||
public static byte[] buildControlCommand(LawnMoverProtocolEntity entity) {
|
||||
ByteBuffer buffer = ByteBuffer.allocate(27);
|
||||
ByteBuffer buffer = ByteBuffer.allocate(27); // 15
|
||||
buffer.order(ByteOrder.LITTLE_ENDIAN);
|
||||
|
||||
buffer.put(entity.getHeader1());
|
||||
|
||||
Reference in New Issue
Block a user