- initial portable support, currently lcnc rtai+sim

This commit is contained in:
Sascha Ittner
2015-02-24 18:59:54 +01:00
parent c9fa7e8197
commit 83107b407e
13 changed files with 295 additions and 111 deletions

View File

@@ -26,6 +26,7 @@
#include "rtapi.h"
#include "hal.h"
#include "lcec_rtapi.h"
#include "lcec_conf.h"
#define BUFFSIZE 8192
@@ -297,7 +298,7 @@ int main(int argc, char **argv) {
fprintf(stderr, "%s: ERROR: couldn't allocate user/RT shared memory\n", modname);
goto fail4;
}
if (rtapi_shmem_getptr(shmem_id, &shmem_ptr) < 0) {
if (lcec_rtapi_shmem_getptr(shmem_id, &shmem_ptr) < 0) {
fprintf(stderr, "%s: ERROR: couldn't map user/RT shared memory\n", modname);
goto fail5;
}