more appropriate name for SENSOR_* states
failed state has been moved closer to the beginning of the fsm jump table