--- a/examples/xenomai_posix/main.c Mon Jul 30 11:58:02 2018 +0200
+++ b/examples/xenomai_posix/main.c Mon Sep 10 22:40:27 2018 +0200
@@ -40,9 +40,6 @@
#include <sys/mman.h>
#include <time.h>
-#include <rtdm/rtdm.h>
-#include <rtdk.h>
-
#include "ecrt.h"
#define NSEC_PER_SEC 1000000000
@@ -124,11 +121,11 @@
ecrt_domain_state(domain1, &ds);
if (ds.working_counter != domain1_state.working_counter) {
- rt_printf("Domain1: WC %u.\n", ds.working_counter);
+ printf("Domain1: WC %u.\n", ds.working_counter);
}
if (ds.wc_state != domain1_state.wc_state) {
- rt_printf("Domain1: State %u.\n", ds.wc_state);
+ printf("Domain1: State %u.\n", ds.wc_state);
}
domain1_state = ds;
@@ -143,15 +140,15 @@
ecrt_master_state(master, &ms);
if (ms.slaves_responding != master_state.slaves_responding) {
- rt_printf("%u slave(s).\n", ms.slaves_responding);
+ printf("%u slave(s).\n", ms.slaves_responding);
}
if (ms.al_states != master_state.al_states) {
- rt_printf("AL states: 0x%02X.\n", ms.al_states);
+ printf("AL states: 0x%02X.\n", ms.al_states);
}
if (ms.link_up != master_state.link_up) {
- rt_printf("Link is %s.\n", ms.link_up ? "up" : "down");
+ printf("Link is %s.\n", ms.link_up ? "up" : "down");
}
master_state = ms;