Skip to content

Commit

Permalink
[-] Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Kravtsov committed Apr 29, 2022
1 parent d943d2e commit 03007d9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 95 deletions.
2 changes: 1 addition & 1 deletion History.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
********************************************************************************

29.04.2022
deviceServiceVersion = 1013649
deviceServiceVersion = 1013650

[-] Fixed error with receipt item discount

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,10 +876,11 @@ private SmFptrConst() {
public static final int PORT_TYPE_SOCKET = 2;
public static final int PORT_TYPE_FROMCLASS = 3;
public static final int PORT_TYPE_BLUETOOTH_LE = 4;
public static final int PORT_TYPE_PPP = 5;
public static final int PORT_TYPE_PPP_BT = 5;
public static final int PORT_TYPE_PPP_BLE = 6;

public static final int PORT_TYPE_MIN = 0;
public static final int PORT_TYPE_MAX = 5;
public static final int PORT_TYPE_MAX = 6;

/////////////////////////////////////////////////////////////////////
// Header mode constants
Expand Down
86 changes: 0 additions & 86 deletions Source/Core/src/com/shtrih/util/CircularBuffer.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ public static PrinterPort createInstance(FptrParameters params)
result = SocketPort.getInstance(params.portName, params.getByteTimeout());
break;

case SmFptrConst.PORT_TYPE_PPP:
result = new PPPPort(params);
break;

case SmFptrConst.PORT_TYPE_FROMCLASS:
Class portClass = Class.forName(params.portClass);
Class[] parameters = new Class[0];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.shtrih.util;

public class ServiceVersion {
public static final String VERSION = "649";
public static final String VERSION = "649-1-gd943d2e";
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ public static PrinterPort createPort(FptrParameters params) throws Exception
case SmFptrConst.PORT_TYPE_BLUETOOTH_LE:
return new BluetoothLEPort();

case SmFptrConst.PORT_TYPE_PPP:
case SmFptrConst.PORT_TYPE_PPP_BT:
return new PPPPort(params, new BluetoothPort());

case SmFptrConst.PORT_TYPE_PPP_BLE:
return new PPPPort(params, new BluetoothLEPort());

case SmFptrConst.PORT_TYPE_FROMCLASS:
Class portClass = Class.forName(params.portClass);
Class[] parameters = new Class[0];
Expand Down

0 comments on commit 03007d9

Please sign in to comment.