Mercurial > hg > fxanalyse
comparison ad9956.c @ 263:8d9a4c5eb7a4
Fixes to make last changes working in CVI
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 16 Jun 2015 17:19:15 +0200 |
parents | ebbe0f198322 |
children |
comparison
equal
deleted
inserted
replaced
262:ebbe0f198322 | 263:8d9a4c5eb7a4 |
---|---|
18 int ad9956_init(struct ad9956 *d, const char *hostname, double clock) | 18 int ad9956_init(struct ad9956 *d, const char *hostname, double clock) |
19 { | 19 { |
20 int r; | 20 int r; |
21 char buffer[256]; | 21 char buffer[256]; |
22 uint64 value; | 22 uint64 value; |
23 | |
24 #ifdef _CVI_ | |
25 WSADATA wsdata; | |
26 WSAStartup(MAKEWORD(2,2), &wsdata); | |
27 #endif | |
28 | 23 |
29 d->sock = xsocket(hostname, 1234); | 24 d->sock = xsocket(hostname, 1234); |
30 d->profile = 0; | 25 d->profile = 0; |
31 d->clock = clock; | 26 d->clock = clock; |
32 | 27 |