mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-12 09:33:59 -03:00
compass: fixed a compiler warning
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2844 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
a9278b6fcd
commit
48f010f80c
@ -108,7 +108,7 @@ AP_Compass_HMC5843::init()
|
|||||||
calibration_gain = 0x60;
|
calibration_gain = 0x60;
|
||||||
expected_xy = 766;
|
expected_xy = 766;
|
||||||
expected_z = 713;
|
expected_z = 713;
|
||||||
} else if (base_config == NormalOperation | DataOutputRate_75HZ<<2) {
|
} else if (base_config == (NormalOperation | DataOutputRate_75HZ<<2)) {
|
||||||
product_id = AP_COMPASS_TYPE_HMC5843;
|
product_id = AP_COMPASS_TYPE_HMC5843;
|
||||||
} else {
|
} else {
|
||||||
// not behaving like either supported compass type
|
// not behaving like either supported compass type
|
||||||
|
Loading…
Reference in New Issue
Block a user