Changeset 30:d92d686b4d70 in xplra for test/multigetctest.c


Ignore:
Timestamp:
02/09/13 08:59:10 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed problems with detecting a broken connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/multigetctest.c

    r29 r30  
    3535#include <string.h>
    3636
    37 #ifdef __windows__
     37#ifdef _WIN32
    3838#include <windows.h>
    3939#else
     
    240240
    241241    while(1) {
    242         if (xplra_multi_execute(getterID)<0) return -1;
     242        if (xplra_multi_execute(getterID)<0) goto error;
    243243        printf("tail number: '%s', days: %d, zuluSec: %f\n",
    244244               tailnum, *days, *zuluSec);
     
    265265               busVolts[0], busVolts[1], busVolts[2], busVolts[3]);
    266266        printf("\n");
    267 #ifdef __windows__
     267#ifdef _WIN32
    268268        Sleep(1000);
    269269#else
Note: See TracChangeset for help on using the changeset viewer.