mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +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
|
@Override
|
||||||
public int getFlowControlMode() {
|
public int getFlowControlMode() {
|
||||||
return getFlowControlMode();
|
return sp.getFlowControlMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -206,7 +206,7 @@ public class RxTxSerialPort implements SerialPort {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getFlowControlMode() {
|
public int getFlowControlMode() {
|
||||||
return getFlowControlMode();
|
return sp.getFlowControlMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user