Xiao esp32s3 sense camera sleep current

Sorry - I left out obtaining the sensor pointer. Once you have that it should resolve sensor->set_reg(…) ok :
sensor_t* sensor = esp_camera_sensor_get();

NB the enable parameter enables camera standby mode so set it to false to start the camera up again