Add check if sensor_init failed