mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-13 10:03:57 -03:00
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());
|
return uint32_t(state.ignore_safety_channels.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t get_serial_number() const {
|
||||||
|
return (uint32_t)vehicleSerialNumber.get();
|
||||||
|
}
|
||||||
|
|
||||||
#if HAL_HAVE_BOARD_VOLTAGE
|
#if HAL_HAVE_BOARD_VOLTAGE
|
||||||
// get minimum board voltage
|
// get minimum board voltage
|
||||||
static float get_minimum_board_voltage(void) {
|
static float get_minimum_board_voltage(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user