CLI - small formatting difference when printing SENSOR values from Log to serial port

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1111 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
rmackay9@yahoo.com 2010-12-12 13:06:34 +00:00
parent 121f3ee37f
commit f94a126061

View File

@ -375,17 +375,16 @@ void Log_Read_Attitude()
// Read a Sensor packet
void Log_Read_Sensor()
{
int i, sensorValue;
{
SerPri("SENSOR:");
for(int i=0; i<7; i++ )
{
if( i!=0 )
SerPri(",");
sensorValue = DataFlash.ReadInt();
SerPri(sensorValue);
}
SerPri(DataFlash.ReadInt()); SerPri(",");
SerPri(DataFlash.ReadInt()); SerPri(",");
SerPri(DataFlash.ReadInt()); SerPri(",");
SerPri(DataFlash.ReadInt()); SerPri(",");
SerPri(DataFlash.ReadInt()); SerPri(",");
SerPri(DataFlash.ReadInt()); SerPri(",");
SerPri(DataFlash.ReadInt());
SerPriln();
}
// Read a Sensor raw data packet