Import LinuxCNC source tree
This commit is contained in:
10
tests/halcompile/relative-header-user/relative_header.comp
Normal file
10
tests/halcompile/relative-header-user/relative_header.comp
Normal file
@@ -0,0 +1,10 @@
|
||||
component relative_header;
|
||||
pin out bit out;
|
||||
include "local.h";
|
||||
license "GPL";
|
||||
option userspace yes;
|
||||
;;
|
||||
void user_mainloop(void) {
|
||||
FOR_ALL_INSTS() { out = ! out; }
|
||||
rtapi_delay(100 * 1000 * 1000);
|
||||
}
|
||||
Reference in New Issue
Block a user