Add enabling/disabling of sensor codepath