Wreorder: Fixed a subset of reorder errors

This commit addresses warnings emitted from -Wreorder
in the C++ src.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-11-03 10:19:14 -07:00
parent 2f31aede0e
commit c63692b5fd
10 changed files with 54 additions and 53 deletions

View File

@ -32,7 +32,7 @@ using namespace upm;
using namespace std;
MPU9150::MPU9150 (int bus, int address, int magAddress, bool enableAk8975) :
m_mag(0), MPU60X0(bus, address)
MPU60X0(bus, address), m_mag(0)
{
m_magAddress = magAddress;
m_i2cBus = bus;