fix for weird hall-sensor-configurations that don't have 000 and 111 as illegal