Merge branch 'prefetch-domain-pointer' into 'devel-1.6'

Prefetch domain pointer / made domain argument const

See merge request etherlab.org/ethercat!118
This commit is contained in:
Florian Pose
2024-02-08 08:54:17 +00:00
4 changed files with 18 additions and 17 deletions

View File

@@ -440,7 +440,7 @@ void ecrt_domain_external_memory(ec_domain_t *domain, uint8_t *mem)
/****************************************************************************/
uint8_t *ecrt_domain_data(ec_domain_t *domain)
uint8_t *ecrt_domain_data(const ec_domain_t *domain)
{
return domain->data;
}