blob: b32c5c24103849546a0f55c39a660d7eb0c949a4 [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from .utils import detect_camera
def detect():
"""
Checks whether the device has a built-in MIPI camera.
@returns string: 'mipi_camera' if true, '' otherwise.
"""
return 'mipi_camera' if detect_camera('mipi') else ''