Remove is_emulator() on usb 83/225683/3
authorINSUN PYO <insun.pyo@samsung.com>
Mon, 24 Feb 2020 03:10:01 +0000 (12:10 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 24 Feb 2020 11:05:49 +0000 (11:05 +0000)
commitcaacd8080b59e7c8f0ed48da7e9e43d1e73edba8
tree66bcfcb49ff7826708a45dab4329a5d449e1fb2c
parent76c19d917472254e019945d2d036dd371143b766
Remove is_emulator() on usb

Deviced only uses three functions in usb_client hal: disable, enable and reconfigure_gadget.
If emulator's usb_client hal provides these three functions as dummy,
deviced can be used on both the emulator and target as a single code.

Change-Id: Ie2f32403e9767f65d4166ab8be6c83b68891b452
src/usb/usb.c