mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01: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:
parent
58a106d36d
commit
564d6e673e
@ -206,7 +206,7 @@ public class SerialPortImpl implements SerialPort {
|
||||
|
||||
@Override
|
||||
public int getFlowControlMode() {
|
||||
return getFlowControlMode();
|
||||
return sp.getFlowControlMode();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -206,7 +206,7 @@ public class RxTxSerialPort implements SerialPort {
|
||||
|
||||
@Override
|
||||
public int getFlowControlMode() {
|
||||
return getFlowControlMode();
|
||||
return sp.getFlowControlMode();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user