More QOL updates

This commit is contained in:
zontreck 2024-05-07 04:29:48 -07:00
parent 9b7b84153f
commit 7d75a2b5f8
2 changed files with 10 additions and 16 deletions

View file

@ -344,7 +344,8 @@ class ByteLayer {
_position = position;
}
void waitSetBit(int position, int maskToClear, int maskToSet) {
/// Unsets a mask, then sets a mask
void unsetSetBit(int position, int maskToClear, int maskToSet) {
clearBit(position, maskToClear);
setBit(position, maskToSet);