examples/kerneltest/console/console.h
author greg
Thu, 08 Oct 2009 17:21:15 +0200
changeset 605 f91ee161b3a1
parent 391 7802a7d5584f
permissions -rw-r--r--
-add LeaveMutex to avoid canopenshell deadlock when call NodeInit
-Now call the first setalarm from StartTimerLoop instead of the Timerthreadloop (like linux)
391
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     1
#ifndef __canftest_console_h__
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     2
#define __canftest_console_h__
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     3
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     4
#define DEVICE_NAME "canf_ktest"
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     5
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     6
#define CMD_START	'1'
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     7
#define CMD_STOP	'2'
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     8
7802a7d5584f Accepted Vladimir Chren linux kernelspace port patch.
etisserant
parents:
diff changeset
     9
#endif // __canftest_console.h__