AP_BoardConfig: Add missing const in member functions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2021-02-01 13:26:26 -03:00 committed by Andrew Tridgell
parent d190fff887
commit 3fcf430a2c
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}