mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-11 02:13:57 -04:00
AP_HAL_Empty: follow coding style
- Add some spaces - Use pragma once - Remove ; from method implementation - Remove unneeded return
This commit is contained in:
parent
b3a751a199
commit
e825eb12f5
@ -12,13 +12,10 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#ifndef __AP_HAL_EMPTY_OPTICALFLOW_H__
|
#pragma once
|
||||||
#define __AP_HAL_EMPTY_OPTICALFLOW_H__
|
|
||||||
|
|
||||||
class Empty::OpticalFlow : public AP_HAL::OpticalFlow {
|
class Empty::OpticalFlow : public AP_HAL::OpticalFlow {
|
||||||
public:
|
public:
|
||||||
void init(AP_HAL::OpticalFlow::Gyro_Cb) {return;};
|
void init(AP_HAL::OpticalFlow::Gyro_Cb) { }
|
||||||
bool read(Data_Frame& frame) {return false;};
|
bool read(Data_Frame& frame) { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user