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:
parent
121f3ee37f
commit
f94a126061
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user