can-net: Fix compiler bug on 16bits PICs
Created by: retornaz
The compiler provided by "Mplab X" wrongly optimize the structure copy by corrupting data (dropping the first 2 bytes).
Fix this by using memcpy.
[A venir] Mise en place de quotas sur nos instances GitLab. Plus d'information sur : https://doc-si.inria.fr/pages/viewpage.action?pageId=129728565
[Coming soon] Quotas installation on our GitLab instances. More information: https://doc-si.inria.fr/pages/viewpage.action?pageId=129728565
Created by: retornaz
The compiler provided by "Mplab X" wrongly optimize the structure copy by corrupting data (dropping the first 2 bytes).
Fix this by using memcpy.