Expanding shift register code

Ok, im making a start on changing optionSwitch to an array.

Im a bit confused on what the piece below does, its my first time touching the “|=“ symbol.


optionSwitch |= ((uint32_t) ReadOne165()) << i;