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.
This commit is contained in:
parent
28d3d775a4
commit
cae895bfdf
@ -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…
Reference in New Issue
Block a user