mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Fix SerialPort.getFlowControlMode() infinite recursion (#4007)
An infinite recursion would occur when calling this method. I did not find any add-ons using this method but that could be due to this bug. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ public class SerialPortImpl implements SerialPort {
|
||||
|
||||
@Override
|
||||
public int getFlowControlMode() {
|
||||
return getFlowControlMode();
|
||||
return sp.getFlowControlMode();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -206,7 +206,7 @@ public class RxTxSerialPort implements SerialPort {
|
||||
|
||||
@Override
|
||||
public int getFlowControlMode() {
|
||||
return getFlowControlMode();
|
||||
return sp.getFlowControlMode();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user