drivers/can_peak_win32/can_peak_win32.c
author lbessard
Mon, 22 Jan 2007 12:06:29 +0100
changeset 69 c5495b101f57
parent 42 17f0ea205942
child 145 e747d2e26af0
permissions -rw-r--r--
DS-401 and DS-418 updated
38
9b5bb1dcb4f5 Cygwin port. Still untested. Compiles and link.
etisserant
parents:
diff changeset
     1
/*
9b5bb1dcb4f5 Cygwin port. Still untested. Compiles and link.
etisserant
parents:
diff changeset
     2
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
     3
This file is not part of CanFestival.
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
     4
This is third party contributed file.
38
9b5bb1dcb4f5 Cygwin port. Still untested. Compiles and link.
etisserant
parents:
diff changeset
     5
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
     6
It is provided as-this and without any warranty
38
9b5bb1dcb4f5 Cygwin port. Still untested. Compiles and link.
etisserant
parents:
diff changeset
     7
9b5bb1dcb4f5 Cygwin port. Still untested. Compiles and link.
etisserant
parents:
diff changeset
     8
*/
9b5bb1dcb4f5 Cygwin port. Still untested. Compiles and link.
etisserant
parents:
diff changeset
     9
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    10
//****************************************************************************
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    11
// Copyright (C) 2006  PEAK System-Technik GmbH
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    12
//
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    13
// linux@peak-system.com
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    14
// www.peak-system.com
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    15
//
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    16
// This part of software is proprietary. It is allowed to
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    17
// distribute it with CanFestival. 
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    18
//
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    19
// No warranty at all is given.
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    20
//
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    21
// Maintainer(s): Edouard TISSERANT (edouard.tisserant@lolitech.fr)
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    22
//****************************************************************************
38
9b5bb1dcb4f5 Cygwin port. Still untested. Compiles and link.
etisserant
parents:
diff changeset
    23
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    24
/*
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    25
   Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Wed Aug  9 08:28:43 2006
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    26
*/
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    27
#include<stdio.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    28
#include<string.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    29
#include<stdlib.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    30
#include<errno.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    31
#include<stddef.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    32
#include<sys/ioctl.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    33
#include<fcntl.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    34
#include<signal.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    35
#include<sys/time.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    36
#include<unistd.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    37
#include<pthread.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    38
#include<applicfg.h>
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    39
#include"timer.h"
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    40
#include"can_driver.h"
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    41
#include"timers_driver.h"
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    42
#include"cobf.h"
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    43
#ifndef extra_PCAN_init_params
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    44
#define extra_PCAN_init_params
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    45
#else
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    46
#define extra_PCAN_init_params , pcan_o("PCANHwType") ? pcan_6(  \
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    47
pcan_o("PCANHwType"), pcan_v,0):0 , pcan_o("PCANIO_Port") ? pcan_6(  \
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    48
pcan_o("PCANIO_Port"), pcan_v,0):0 , pcan_o("PCANInterupt") ? pcan_6( \
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    49
 pcan_o("PCANInterupt"), pcan_v,0):0
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    50
#endif
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    51
#ifdef PCAN2_HEADER_
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    52
#define pcan_t 2
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    53
#else
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    54
#define pcan_t 1
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    55
#endif
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    56
pcan_37 pcan_53{pcan_11 pcan_r;pcan_41 pcan_5;pcan_26*pcan_s;pcan_27*
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    57
pcan_l;}pcan_c;pcan_c pcan_h[pcan_t]={{0,},};pcan_48 pcan_k=pcan_40;
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    58
pcan_14 pcan_0(pcan_m pcan_b){
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    59
#ifdef PCAN2_HEADER_
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    60
pcan_d(pcan_h!=((pcan_c* )pcan_b))pcan_55(((pcan_c* )pcan_b)->pcan_l
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    61
->pcan_20,pcan_y extra_PCAN_init_params);pcan_j
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    62
#endif
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    63
pcan_57(((pcan_c* )pcan_b)->pcan_l->pcan_20,pcan_y
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    64
extra_PCAN_init_params);}pcan_u pcan_17(pcan_m pcan_b,pcan_8*pcan_e){
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    65
pcan_u pcan_f;pcan_24 pcan_a;pcan_13 pcan_i;pcan_19(&pcan_k);
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    66
#ifdef PCAN2_HEADER_
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    67
pcan_d(pcan_h!=((pcan_c* )pcan_b))pcan_i=pcan_31(&pcan_a);pcan_j
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    68
#endif
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    69
pcan_i=pcan_51(&pcan_a);pcan_d(pcan_i==pcan_w){pcan_d(pcan_a.pcan_n&~
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    70
(pcan_28|pcan_15)){pcan_d(pcan_a.pcan_n==pcan_23){pcan_2("\x21\x21"
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    71
"\x21\x20\x50\x65\x61\x6b\x20\x62\x6f\x61\x72\x64\x20\x72\x65\x61\x64"
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    72
"\x20\x3a\x20\x72\x65\x2d\x69\x6e\x69\x74\n");pcan_0(pcan_b);pcan_x(
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    73
10000);}pcan_z(&pcan_k);pcan_q pcan_a.pcan_n==pcan_32?pcan_a.pcan_12[
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    74
2]:pcan_50;}pcan_e->pcan_16.pcan_25=pcan_a.pcan_18;pcan_d(pcan_a.
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    75
pcan_n==pcan_y)pcan_e->pcan_9=0;pcan_j pcan_e->pcan_9=1;pcan_e->
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    76
pcan_1=pcan_a.pcan_7;pcan_3(pcan_f=0;pcan_f<pcan_a.pcan_7;pcan_f++)pcan_e
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    77
->pcan_f[pcan_f]=pcan_a.pcan_12[pcan_f];}pcan_z(&pcan_k);pcan_q pcan_i
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    78
;}pcan_14 pcan_47(pcan_m pcan_b){pcan_26*pcan_s=((pcan_c* )pcan_b)->
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    79
pcan_s;pcan_8 pcan_e;pcan_21(((pcan_c* )pcan_b)->pcan_r){pcan_13
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    80
pcan_i;pcan_d((pcan_i=pcan_17(pcan_b,&pcan_e))==pcan_w){pcan_30();
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    81
pcan_54(pcan_s,&pcan_e);pcan_35();}pcan_j{pcan_d(!(pcan_i&pcan_33||
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    82
pcan_i&pcan_42||pcan_i&pcan_49)){pcan_2("\x63\x61\x6e\x52\x65\x63\x65"
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    83
"\x69\x76\x65\x20\x72\x65\x74\x75\x72\x6e\x65\x64\x20\x65\x72\x72\x6f"
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    84
"\x72\x20\x28\x25\x64\x29\n",pcan_i);}pcan_x(1000);}}}pcan_u pcan_43(
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    85
pcan_m pcan_b,pcan_8*pcan_e){pcan_u pcan_f;pcan_24 pcan_a;pcan_a.
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    86
pcan_18=pcan_e->pcan_16.pcan_25;pcan_d(pcan_e->pcan_9==0)pcan_a.
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    87
pcan_n=pcan_y;pcan_j{pcan_a.pcan_n=pcan_28|pcan_15;}pcan_a.pcan_7=
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    88
pcan_e->pcan_1;pcan_3(pcan_f=0;pcan_f<pcan_e->pcan_1;pcan_f++)pcan_a.
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    89
pcan_12[pcan_f]=pcan_e->pcan_f[pcan_f];pcan_p=pcan_w;pcan_36{pcan_19(
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    90
&pcan_k);
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    91
#ifdef PCAN2_HEADER_
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    92
pcan_d(pcan_h!=((pcan_c* )pcan_b))pcan_p=pcan_56(&pcan_a);pcan_j
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    93
#endif
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    94
pcan_p=pcan_46(&pcan_a);pcan_d(pcan_p){pcan_d(pcan_p==pcan_23){pcan_2
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
    95
("\x21\x21\x21\x20\x50\x65\x61\x6b\x20\x62\x6f\x61\x72\x64\x20\x77"
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    96
"\x72\x69\x74\x65\x20\x3a\x20\x72\x65\x2d\x69\x6e\x69\x74\n");pcan_0(
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    97
pcan_b);pcan_x(10000);}pcan_z(&pcan_k);pcan_x(100);}pcan_j{pcan_z(&
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    98
pcan_k);}}pcan_21(pcan_p!=pcan_w&&((pcan_c* )pcan_b)->pcan_r);pcan_q 0
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
    99
;}pcan_m pcan_44(pcan_27*pcan_l){pcan_11 pcan_58[64];pcan_11*pcan_39;
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   100
pcan_22 pcan_g;pcan_3(pcan_g=0;pcan_g<pcan_t;pcan_g++){pcan_d(!pcan_h
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   101
[pcan_g].pcan_r)pcan_45;}pcan_d(pcan_g==pcan_t){pcan_4(pcan_10,"\x4f"
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   102
"\x70\x65\x6e\x20\x66\x61\x69\x6c\x65\x64\x2e\n");pcan_4(pcan_10,""
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   103
"\x63\x61\x6e\x5f\x70\x65\x61\x6b\x5f\x77\x69\x6e\x33\x32\x2e\x63\x3a"
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   104
"\x20\x6e\x6f\x20\x6d\x6f\x72\x65\x20\x63\x61\x6e\x20\x70\x6f\x72\x74"
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   105
"\x20\x61\x76\x61\x69\x6c\x61\x62\x6c\x65\x20\x77\x69\x74\x68\x20\x74"
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   106
"\x68\x69\x73\x20\x70\x63\x61\x6e\x20\x6c\x69\x62\x72\x61\x72\x79\n");
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   107
pcan_4(pcan_10,"\x63\x61\x6e\x5f\x70\x65\x61\x6b\x5f\x77\x69\x6e\x33"
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
   108
"\x32\x2e\x63\x3a\x20\x70\x6c\x65\x61\x73\x65\x20\x6c\x69\x6e\x6b\x20"
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
   109
"\x61\x6e\x6f\x74\x68\x65\x72\x20\x65\x78\x65\x63\x75\x74\x61\x62\x6c"
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
   110
"\x65\x20\x77\x69\x74\x68\x20\x61\x6e\x6f\x74\x68\x65\x72\x20\x70\x63"
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   111
"\x61\x6e\x20\x6c\x69\x62\n");pcan_q pcan_v;}pcan_h[pcan_g].pcan_r=1;
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   112
pcan_h[pcan_g].pcan_l=pcan_l;pcan_h[pcan_g].pcan_s=pcan_l->pcan_s;
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   113
pcan_0((pcan_c* )&pcan_h[pcan_g]);pcan_34((pcan_c* )&pcan_h[pcan_g],&
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   114
pcan_h[pcan_g].pcan_5);pcan_q(pcan_c* )&pcan_h[pcan_g];}pcan_22
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   115
pcan_59(pcan_m pcan_b){((pcan_c* )pcan_b)->pcan_r=0;
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
   116
#ifdef PCAN2_HEADER_
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   117
pcan_d(pcan_h!=((pcan_c* )pcan_b))pcan_52();pcan_j
41
e70439f50539 First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents: 38
diff changeset
   118
#endif
42
17f0ea205942 cygwin/pcan_light commit. Changes in configure for dual port handling.
etisserant
parents: 41
diff changeset
   119
pcan_38();pcan_29(&((pcan_c* )pcan_b)->pcan_5);pcan_q 0;}