drivers/can_copcican_win32/stdafx.h
author bmakuc <blaz.makuc@smarteh.si>
Fri, 24 Mar 2017 10:52:38 +0100
changeset 796 1c87f7a8cb8a
parent 629 b9274b595650
permissions -rw-r--r--
Send timeout is set to 10 ms. Without timeout PLC can be blocked by CAN driver: if CAN bus is not connected to controller CAN driver never returns and therfore PLC application halts. This is a temporary solution.
629
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     1
// stdafx.h : include file for standard system include files,
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     2
// or project specific include files that are used frequently, but
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     3
// are changed infrequently
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     4
//
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     5
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     6
#pragma once
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     7
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     8
#include "targetver.h"
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     9
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    10
#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    11
// Windows Header Files:
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    12
#include <windows.h>
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    13
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    14
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    15
//#include "co_can.h"
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    16
#include "public.h"
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    17
#include "can_driver.h"
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    18
#include "co_can_cinterface.h"
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    19
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    20
// TODO: reference additional headers your program requires here