DataFlash: fixed SITL build

This commit is contained in:
Andrew Tridgell 2012-08-17 16:27:19 +10:00
parent 2fb8a13ac6
commit 84c39774fa
2 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ void DataFlash_Class::start_new_log(void)
// This function finds the first and last pages of a log file
// The first page may be greater than the last page if the DataFlash has been filled and partially overwritten.
void DataFlash_Class::get_log_boundaries(uint8_t log_num, int & start_page, int & end_page)
void DataFlash_Class::get_log_boundaries(uint8_t log_num, int16_t & start_page, int16_t & end_page)
{
int num = get_num_logs();
int look;

View File

@ -84,7 +84,7 @@ class DataFlash_Class
// high level interface
int find_last_log(void);
void get_log_boundaries(uint8_t log_num, int & start_page, int & end_page);
void get_log_boundaries(uint8_t log_num, int16_t & start_page, int16_t & end_page);
uint8_t get_num_logs(void);
void start_new_log(void);