diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-03-10 18:48:11 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-03-10 18:48:11 +0000 |
commit | 760d0a2a75aba6307550bf551c5eb06174c256b5 (patch) | |
tree | d526eeb7d5ce0aec9e4572f5df0cb3536a2632d1 /xpp/astribank_allow.c | |
parent | cf84710ff24dd09e80f9e5ecfeb16ce15137ddc3 (diff) |
xpp: use 'xtalk' for the USB access code
* Move most of the USB access code from xpp/ to xpp/xtalk/ .
* astribank_tool and such tools can now use a shorter -D mmm/nnn rather
than a full path.
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9825 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/astribank_allow.c')
-rw-r--r-- | xpp/astribank_allow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xpp/astribank_allow.c b/xpp/astribank_allow.c index b87f6fa..b1e8c52 100644 --- a/xpp/astribank_allow.c +++ b/xpp/astribank_allow.c @@ -32,8 +32,8 @@ #include <arpa/inet.h> #include <ctype.h> #include "mpp.h" -#include "mpp_funcs.h" -#include "debug.h" +#include "mpptalk.h" +#include <debug.h> static const char rcsid[] = "$Id$"; @@ -327,7 +327,7 @@ int main(int argc, char *argv[]) usage(); } DBG("Startup %s\n", devpath); - if((astribank = mpp_init(devpath)) == NULL) { + if((astribank = mpp_init(devpath, 1)) == NULL) { ERR("Failed initializing MPP\n"); return 1; } |