]> rtime.felk.cvut.cz Git - CanFestival-3.git/commitdiff
serious typo in dcf.c
authoretisserant <etisserant>
Thu, 5 Jun 2008 06:04:30 +0000 (06:04 +0000)
committeretisserant <etisserant>
Thu, 5 Jun 2008 06:04:30 +0000 (06:04 +0000)
src/dcf.c

index 891efa8d601070b358a0eb45e6c8d1fb32bcdeae..25e788fb164835b494c417ec3d6c0b8ee197cc41 100644 (file)
--- 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