Browse Source

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
mission-4.1.18
rmackay9@yahoo.com 14 years ago
parent
commit
f94a126061
  1. 19
      ArducopterNG/Log.pde

19
ArducopterNG/Log.pde

@ -375,17 +375,16 @@ void Log_Read_Attitude() @@ -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…
Cancel
Save