raises an error at compile-time:
Fehler 2 1761 : cast from pointer to smaller type 'uint16_t' (aka 'unsigned short') loses information Z:\CAN-Adapter\CANUSB-Adapter\Firmware\CANUSB_AVR50\CANUSB\Main.cpp 956 3 CANUSB_CPP
The code was fine before, but I have a lot of trouble at the moment while using some c++-Code in my project.
Maybe this error comes from the change from c to c++
Happy New Year!!![/code]