From: etisserant Date: Thu, 5 Jun 2008 06:04:30 +0000 (+0000) Subject: serious typo in dcf.c X-Git-Url: http://rtime.felk.cvut.cz/gitweb/CanFestival-3.git/commitdiff_plain/806ffed726266193c607fe6995fe16dc3feab986 serious typo in dcf.c --- diff --git a/src/dcf.c b/src/dcf.c index 891efa8..25e788f 100644 --- a/src/dcf.c +++ b/src/dcf.c @@ -138,7 +138,7 @@ static void send_consise_dcf_loop(CO_Data* d,UNS8 nodeId) target_Index = *(d->dcf_cursor++) << 8 | *(d->dcf_cursor++); #else - memcpy(&target_Index, d->dcf_cursor,4); + memcpy(&target_Index, d->dcf_cursor,2); d->dcf_cursor+=2; #endif