summaryrefslogtreecommitdiff
path: root/software/test.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-01-18 21:06:01 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-27 21:09:14 +0200
commitef7d0400b4b0ea8ad3bf8e3133c3fe5d9cb39fa7 (patch)
tree0dbcc06de0849d7111c041ec128c441da02919a7 /software/test.c
parent6c52d763eb9f6887ce7d09bb3b5913c80a816674 (diff)
update to PR47, and update test application to use GetCapacityPins
git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@23 537310ab-6354-42db-a3cc-247b777f7be6
Diffstat (limited to 'software/test.c')
-rw-r--r--software/test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/software/test.c b/software/test.c
index ac14067..0105e58 100644
--- a/software/test.c
+++ b/software/test.c
@@ -21,6 +21,7 @@ int main(int argc, char **argv)
tOCT6100_CHANNEL_OPEN ChannelOpen;
tOCT6100_TONE_DETECTION_ENABLE enable;
tOCT6100_CHIP_CLOSE ChipClose;
+ tOCT6100_API_GET_CAPACITY_PINS CapacityPins;
Oct6100ChannelModifyDef(&modify);
ulResult = Oct6100ChannelModify(pApiInstance, &modify);
@@ -38,6 +39,8 @@ int main(int argc, char **argv)
Oct6100ToneDetectionEnable(pApiInstance, &enable);
Oct6100ChipCloseDef(&ChipClose);
ulResult = Oct6100ChipClose(pApiInstance, &ChipClose);
+ Oct6100ApiGetCapacityPinsDef(&CapacityPins);
+ ulResult = Oct6100ApiGetCapacityPins(&CapacityPins);
return 0;
}