Updating integration C test
FILE * fp;
+#define BUS "/dev/i2c-0"
+#define PRIMARY_ADDR 0x31
+#define SECONDARY_ADDR 0x32
+#define ANT_COUNT 4
+#define TIMEOUT 10
+
KANTSStatus reset()
{
KANTSStatus status = ANTS_OK;
@@ -315,7 +321,7 @@ int main(int argc, char * argv[])
KANTSStatus status;
- status = k_ants_init();
+ status = k_ants_init(BUS, PRIMARY_ADDR, SECONDARY_ADDR, ANT_COUNT, TIMEOUT);
if (status != ANTS_OK)
{
fprintf(stderr, "k_ants_init failed: %d\n", status);
