examples/kerneltest/console/console.h
author bmakuc <blaz.makuc@smarteh.si>
Fri, 24 Mar 2017 10:52:38 +0100
changeset 796 1c87f7a8cb8a
parent 391 7802a7d5584f
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.
#ifndef __canftest_console_h__
#define __canftest_console_h__

#define DEVICE_NAME "canf_ktest"

#define CMD_START	'1'
#define CMD_STOP	'2'

#endif // __canftest_console.h__