AP_BoardConfig: add accessor for param BRD_SERIAL_NUM

This commit is contained in:
Tom Pittenger 2023-07-03 17:26:11 -07:00 committed by Tom Pittenger
parent f27ad17ea0
commit e05700e10d
1 changed files with 4 additions and 0 deletions

View File

@ -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) {