mirror of https://github.com/ArduPilot/ardupilot
AP_Common: Bitmask formatting fix
This commit is contained in:
parent
6bfed07eae
commit
aaac6b3692
|
@ -48,7 +48,7 @@ public:
|
||||||
bits[i] = 0;
|
bits[i] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// return true if given bitnumber is set
|
// return true if given bitnumber is set
|
||||||
bool get(uint16_t bit) {
|
bool get(uint16_t bit) {
|
||||||
uint16_t word = bit/32;
|
uint16_t word = bit/32;
|
||||||
|
|
Loading…
Reference in New Issue