Master process data are initialized to zero.
This commit is contained in:
parent
c2d9442c8d
commit
2620076ab9
|
|
@ -381,7 +381,7 @@ int ecrt_master_activate(ec_master_t *master)
|
|||
}
|
||||
|
||||
// Access the mapped region to cause the initial page fault
|
||||
printf("pd: %x\n", master->process_data[0]);
|
||||
memset(master->process_data, 0, master->process_data_size);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue