mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: add accessor for param BRD_SERIAL_NUM
This commit is contained in:
parent
f27ad17ea0
commit
e05700e10d
|
@ -114,6 +114,10 @@ public:
|
|||
return uint32_t(state.ignore_safety_channels.get());
|
||||
}
|
||||
|
||||
uint32_t get_serial_number() const {
|
||||
return (uint32_t)vehicleSerialNumber.get();
|
||||
}
|
||||
|
||||
#if HAL_HAVE_BOARD_VOLTAGE
|
||||
// get minimum board voltage
|
||||
static float get_minimum_board_voltage(void) {
|
||||
|
|
Loading…
Reference in New Issue