wz.wang | 8f3a417 | 2024-02-06 18:24:13 +0800 | [diff] [blame^] | 1 | #include <stdint.h> |
| 2 | #include <stdio.h> |
| 3 | #include <string.h> |
| 4 | |
| 5 | #include "liblog/lynq_deflog.h" |
| 6 | |
| 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | |
| 11 | #include "sc_usb.h" |
| 12 | #include "nv_api.h" |
| 13 | #include "lynq-qser-usb.h" |
| 14 | |
| 15 | /******************************************************************** |
| 16 | * @brief: qser_get_usb_usermode_net_state, Get Net user mode adb status |
| 17 | * @return : int, Be greater than zero if successful, Less than zero if failed |
| 18 | * @todo: NA |
| 19 | * @see: NA |
| 20 | * @warning: NA |
| 21 | *********************************************************************/ |
| 22 | int qser_get_usb_usermode_net_state(void) |
| 23 | { |
| 24 | return sc_usb_usermode_net_state(); |
| 25 | } |
| 26 | |
| 27 | /******************************************************************** |
| 28 | * @brief: qser_get_usb_usermode_adb_state, Get Usb user mode adb status |
| 29 | * @return : int, Be greater than zero if successful, Less than zero if failed |
| 30 | * @todo: NA |
| 31 | * @see: NA |
| 32 | * @warning: NA |
| 33 | *********************************************************************/ |
| 34 | int qser_get_usb_usermode_adb_state(void) |
| 35 | { |
| 36 | return sc_usb_usermode_adb_state(); |
| 37 | } |
| 38 | |
| 39 | DEFINE_LYNQ_LIB_LOG(LYNQ_USB) |
| 40 | |
| 41 | #ifdef __cplusplus |
| 42 | } |
| 43 | #endif |