Fixed MTP to work with TWRP

This commit is contained in:
awab228 2018-06-19 23:16:04 +02:00
commit f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#ifndef __HCI_LOOPBACK_H
#define __HCI_LOOPBACK_H
/**
* Loopback Protocol (Interface)
*
* Bounces anything send straight back.
*/
#include "scsc_mport.h"
/*****************************************************************************/
struct scsc_loopback {
struct scsc_mport port;
};
/*****************************************************************************/
void scsc_loopback_init(struct scsc_loopback *loopback);
void scsc_loopback_deinit(struct scsc_loopback *loopback);
struct scsc_mport *scsc_loopback_get_port(struct scsc_loopback *loopback);
#endif /* __HCI_LOOPBACK_H */