mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-28 19:48:31 -04:00
AP_HAL: added get_flow_control() API
This commit is contained in:
parent
dfa95b3464
commit
7c1b9b344f
@ -43,6 +43,7 @@ public:
|
||||
FLOW_CONTROL_DISABLE=0, FLOW_CONTROL_ENABLE=1, FLOW_CONTROL_AUTO=2
|
||||
};
|
||||
virtual void set_flow_control(enum flow_control flow_control_setting) {};
|
||||
virtual enum flow_control get_flow_control(void) { return FLOW_CONTROL_DISABLE; };
|
||||
|
||||
/* Implementations of BetterStream virtual methods. These are
|
||||
* provided by AP_HAL to ensure consistency between ports to
|
||||
|
@ -37,6 +37,7 @@ public:
|
||||
}
|
||||
|
||||
void set_flow_control(enum flow_control flow_control);
|
||||
enum flow_control get_flow_control(void) { return _flow_control; }
|
||||
|
||||
private:
|
||||
const char *_devpath;
|
||||
|
Loading…
Reference in New Issue
Block a user