FastLED 3.9.15
Loading...
Searching...
No Matches

◆ reset() [2/2]

void fl::bitset_dynamic::reset ( uint32_t pos)
inlinenoexcept

Definition at line 157 of file bitset_dynamic.h.

157 {
158 if (pos < _size) {
159 const uint32_t idx = pos / bits_per_block;
160 const uint32_t off = pos % bits_per_block;
161 _blocks[idx] &= ~(static_cast<block_type>(1) << off);
162 }
163 }
uint8_t pos
Definition Blur.ino:11
static constexpr uint32_t bits_per_block
block_type * _blocks

References _blocks, _size, bits_per_block, and pos.