mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
d190fff887
commit
3fcf430a2c
|
@ -129,7 +129,7 @@ public:
|
|||
};
|
||||
|
||||
// return safety button options. Bits are in enum board_safety_button_option
|
||||
uint16_t get_safety_button_options(void) {
|
||||
uint16_t get_safety_button_options(void) const {
|
||||
return uint16_t(state.safety_option.get());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue