From 806ffed726266193c607fe6995fe16dc3feab986 Mon Sep 17 00:00:00 2001 From: etisserant Date: Thu, 5 Jun 2008 06:04:30 +0000 Subject: [PATCH] serious typo in dcf.c --- src/dcf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2