[En-Nut-Discussion] stm32_can.c fails to build
Harald Kipp
harald.kipp at egnite.de
Mon Aug 20 11:53:50 CEST 2012
Hi Uwe,
On 18.08.2012 17:35, Uwe Bonnes wrote:
> Harald> Recently I had to fix a similar case in md5.c and used this
> Harald> horrible ugly solution:
>
> Harald> http://ethernut.svn.sourceforge.net/viewvc/ethernut/trunk/nut/gorp/hashes/md5.c?r1=4116&r2=4250
>
> Harald> Your's looks much nicer.
>
> Watch out, I think your solution also stumbles on endienness.
Btw. memcpy is endianess-agnostic.
But, as I said, quite ugly.
Regards,
Harald
More information about the En-Nut-Discussion
mailing list