Browse Source

AP_Compass: AK8963: group members together

Besides being semantically related, this removes the hole due to
alignment. The size is the same since the hole is actually turned into
padding.
master
Lucas De Marchi 10 years ago committed by Andrew Tridgell
parent
commit
cae895bfdf
  1. 2
      libraries/AP_Compass/AP_Compass_AK8963.h

2
libraries/AP_Compass/AP_Compass_AK8963.h

@ -123,7 +123,7 @@ private: @@ -123,7 +123,7 @@ private:
_write(address, &value, 1);
}
AP_HAL::I2CDriver *_i2c;
uint8_t _addr;
AP_HAL::Semaphore *_i2c_sem;
uint8_t _addr;
};
#endif

Loading…
Cancel
Save