uncrustify libraries/AP_Limits/AP_Limit_Geofence.h

This commit is contained in:
uncrustify 2012-08-16 23:20:06 -07:00 committed by Pat Hickey
parent 4c8a9eb57d
commit 6fc94828b8

View File

@ -13,17 +13,17 @@
#include <AP_Param.h>
#ifndef AP_Limit_Geofence_H
#define AP_Limit_Geofence_H
#define AP_Limit_Geofence_H
#endif // AP_Limit_Geofence_H
#ifndef GPS_h
#include <GPS.h>
#include <GPS.h>
#endif
#define MAX_FENCEPOINTS 20
class AP_Limit_Geofence: public AP_Limit_Module {
class AP_Limit_Geofence : public AP_Limit_Module {
public:
AP_Limit_Geofence(uint32_t _eeprom_fence_start, uint8_t fpsize, uint8_t max_fp, GPS *&gps, struct Location *home_loc, struct Location *current_loc);
@ -43,9 +43,9 @@ public:
protected:
// pointers to gps, current location and home
GPS *&_gps;
struct Location *_current_loc;
struct Location *_home;
GPS *& _gps;
struct Location * _current_loc;
struct Location * _home;
// Simple mode, just radius