File tree 3 files changed +6
-10
lines changed 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,6 @@ class HALSITL::SITL_State : public SITL_State_Common {
52
52
public:
53
53
void init (int argc, char * const argv[]) override ;
54
54
55
- bool use_rtscts (void ) const {
56
- return _use_rtscts;
57
- }
58
-
59
55
uint16_t base_port (void ) const {
60
56
return _base_port;
61
57
}
@@ -80,7 +76,6 @@ class HALSITL::SITL_State : public SITL_State_Common {
80
76
private:
81
77
82
78
void wait_clock (uint64_t wait_time_usec);
83
- bool _use_rtscts;
84
79
uint16_t _base_port;
85
80
86
81
const char *defaults_path = HAL_PARAM_DEFAULTS_PATH;
Original file line number Diff line number Diff line change @@ -25,10 +25,6 @@ class HALSITL::SITL_State : public SITL_State_Common {
25
25
return _base_port;
26
26
}
27
27
28
- bool use_rtscts (void ) const {
29
- return _use_rtscts;
30
- }
31
-
32
28
// paths for UART devices
33
29
const char *_serial_path[9 ] {
34
30
" tcp:0:wait" ,
@@ -89,7 +85,6 @@ class HALSITL::SITL_State : public SITL_State_Common {
89
85
90
86
bool _synthetic_clock_mode;
91
87
92
- bool _use_rtscts;
93
88
bool _use_fg_view;
94
89
95
90
const char *_fg_address;
Original file line number Diff line number Diff line change @@ -100,6 +100,10 @@ class HALSITL::SITL_State_Common {
100
100
float voltage2_pin_voltage; // pin 15
101
101
float current2_pin_voltage; // pin 14
102
102
103
+ bool use_rtscts (void ) const {
104
+ return _use_rtscts;
105
+ }
106
+
103
107
uint16_t pwm_input[SITL_RC_INPUT_CHANNELS];
104
108
bool new_rc_input;
105
109
uint16_t pwm_output[SITL_NUM_CHANNELS];
@@ -258,6 +262,8 @@ class HALSITL::SITL_State_Common {
258
262
SITL::SIM *_sitl;
259
263
260
264
void update_voltage_current (struct sitl_input &input, float throttle);
265
+
266
+ bool _use_rtscts;
261
267
};
262
268
263
269
#endif // CONFIG_HAL_BOARD == HAL_BOARD_SITL
You can’t perform that action at this time.
0 commit comments