DataFlash: Minor whitespace changes/cleanup. No effect.

This commit is contained in:
Robert Lefebvre 2015-01-14 21:38:16 -05:00 committed by Randy Mackay
parent 37304fd5ed
commit be803f4f39
2 changed files with 38 additions and 46 deletions

View File

@ -12,7 +12,6 @@
extern const AP_HAL::HAL& hal;
void DataFlash_Class::Init(const struct LogStructure *structure, uint8_t num_types)
{
_num_types = num_types;
@ -20,7 +19,6 @@ void DataFlash_Class::Init(const struct LogStructure *structure, uint8_t num_typ
_writes_enabled = true;
}
// This function determines the number of whole or partial log files in the DataFlash
// Wholly overwritten files are (of course) lost.
uint16_t DataFlash_Block::get_num_logs(void)
@ -56,7 +54,6 @@ uint16_t DataFlash_Block::get_num_logs(void)
return (last - first + 1);
}
// This function starts a new log file in the DataFlash
uint16_t DataFlash_Block::start_new_log(void)
{
@ -171,7 +168,6 @@ bool DataFlash_Block::check_wrapped(void)
return 1;
}
// This funciton finds the last log number
uint16_t DataFlash_Block::find_last_log(void)
{
@ -421,7 +417,6 @@ void DataFlash_Class::_print_log_entry(uint8_t msg_type,
port->println();
}
/*
print FMT specifiers for log dumps where we have wrapped in the
dataflash and so have no formats. This assumes the log being dumped
@ -619,7 +614,6 @@ void DataFlash_Class::Log_Write_Format(const struct LogStructure *s)
WriteBlock(&pkt, sizeof(pkt));
}
/*
write a parameter to the log
*/
@ -666,8 +660,6 @@ void DataFlash_Class::Log_Write_Parameters(void)
}
}
// Write an GPS packet
void DataFlash_Class::Log_Write_GPS(const AP_GPS &gps, uint8_t i, int32_t relative_alt)
{