From de4f010c2a4d77d0aecb6d6c2555ae5ea1d52ea2 Mon Sep 17 00:00:00 2001 From: schneider Date: Thu, 22 Dec 2011 21:32:11 +0100 Subject: [PATCH] player: fixed length of ack packets --- firmware/l0dable/r_player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/l0dable/r_player.c b/firmware/l0dable/r_player.c index cef4126..fd43da8 100644 --- a/firmware/l0dable/r_player.c +++ b/firmware/l0dable/r_player.c @@ -313,7 +313,7 @@ void processPacket(struct packet *p) if (p->command=='T'){ struct packet ack; memset((void*)&ack, 0, sizeof(ack)); - ack.len=sizeof(p); + ack.len=sizeof(ack); ack.protocol='G'; ack.command='a'; ack.id= id;