mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
uncrustify libraries/AP_Limits/AP_Limits.h
This commit is contained in:
parent
06c79f9aa6
commit
815d7c583e
@ -9,7 +9,7 @@
|
||||
#define AP_LIMITS_H
|
||||
|
||||
#ifndef AP_LIMITS
|
||||
#define AP_LIMITS ENABLED
|
||||
#define AP_LIMITS ENABLED
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
#ifndef HAVE_ENUM_LIMITS_STATE
|
||||
#define HAVE_ENUM_LIMITS_STATE
|
||||
#define HAVE_ENUM_LIMITS_STATE
|
||||
enum LimitState {
|
||||
LIMITS_INIT, // pre-initialization
|
||||
LIMITS_DISABLED, // disabled
|
||||
@ -53,10 +53,10 @@ public:
|
||||
|
||||
// module linked list management methods
|
||||
void modules(AP_Limit_Module *m); // pointer to the first module in linked list of modules
|
||||
AP_Limit_Module *modules_first();
|
||||
AP_Limit_Module *modules_current();
|
||||
AP_Limit_Module *modules_last();
|
||||
AP_Limit_Module *modules_next();
|
||||
AP_Limit_Module * modules_first();
|
||||
AP_Limit_Module * modules_current();
|
||||
AP_Limit_Module * modules_last();
|
||||
AP_Limit_Module * modules_next();
|
||||
void modules_add(AP_Limit_Module *m);
|
||||
uint8_t modules_count();
|
||||
|
||||
@ -95,8 +95,8 @@ protected:
|
||||
AP_Int8 _recmode; // recovery mode: 0=RTL mode, 1=bounce mode
|
||||
|
||||
private:
|
||||
AP_Limit_Module *_modules_head; // points to linked list of modules
|
||||
AP_Limit_Module *_modules_current; // points to linked list of modules
|
||||
AP_Limit_Module * _modules_head; // points to linked list of modules
|
||||
AP_Limit_Module * _modules_current; // points to linked list of modules
|
||||
uint8_t _modules_count;
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user