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