Function flipperzero_sys::bit_lib_set_bit
source · pub unsafe extern "C" fn bit_lib_set_bit(
data: *mut u8,
position: usize,
bit: bool
)Expand description
Set a bit in a byte array.
Arguments
data- array to set bit inposition- The position of the bit to set.bit- bit value to set