AP_Param: fixup for ARM compiler

This commit is contained in:
Andrew Tridgell 2013-01-02 12:51:25 +11:00
parent 1b0670e67c
commit 3a762f891e
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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,