* Test a bit in a bit array. * @param array Bit array. * @param index Index in the array. * @return value of the bit. */
| 315 | * @return value of the bit. |
| 316 | */ |
| 317 | bool BitArray_Test(uint8 *array, uint16 index) |
| 318 | { |
| 319 | return (array[index >> 3] & (1 << (index & 7))) != 0; |
| 320 | } |
| 321 | |
| 322 | /** |
| 323 | * Set a bit in a bit array. |
no outgoing calls
no test coverage detected