mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 10:38:28 -04:00
AP_Param: fixup for ARM compiler
This commit is contained in:
parent
1b0670e67c
commit
3a762f891e
@ -389,7 +389,7 @@ const struct AP_Param::Info *AP_Param::find_var_info(uint32_t *
|
||||
}
|
||||
|
||||
// return the storage size for a AP_PARAM_* type
|
||||
const uint8_t AP_Param::type_size(enum ap_var_type type)
|
||||
uint8_t AP_Param::type_size(enum ap_var_type type)
|
||||
{
|
||||
switch (type) {
|
||||
case AP_PARAM_NONE:
|
||||
|
@ -285,7 +285,7 @@ private:
|
||||
bool scan(
|
||||
const struct Param_header *phdr,
|
||||
uint16_t *pofs);
|
||||
static const uint8_t type_size(enum ap_var_type type);
|
||||
static uint8_t type_size(enum ap_var_type type);
|
||||
static void eeprom_write_check(
|
||||
const void *ptr,
|
||||
uint16_t ofs,
|
||||
|
Loading…
Reference in New Issue
Block a user