mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 00:57:23 +08:00
Master process data are initialized to zero.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user