AP_HAL: fixed typo

This commit is contained in:
Andrew Tridgell 2016-07-01 15:35:07 +10:00
parent 86ceee4a53
commit 6e065b3fe2
3 changed files with 4 additions and 4 deletions

View File

@ -52,5 +52,5 @@ public:
virtual void clear_overrides() = 0;
/* execute receiver bind */
virtual bool rc_bind(int dsmMode) { return false; };
virtual bool rc_bind(int dsmMode) { return false; }
};

View File

@ -43,7 +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; };
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

View File

@ -89,10 +89,10 @@ public:
virtual AP_HAL::Stream *get_shell_stream() { return NULL; }
/* Support for an imu heating system */
virtual void set_imu_temp(float current) {};
virtual void set_imu_temp(float current) {}
/* Support for an imu heating system */
virtual void set_imu_target_temp(int8_t *target) {};
virtual void set_imu_target_temp(int8_t *target) {}
/*
performance counter calls - wrapper around original PX4 interface