From 701d17e5a1e0245c6159ae7ae433527fd65e370d Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Wed, 4 Jan 2012 19:22:02 +0100 Subject: [PATCH] I'm not sure I wan to talk about this, but this might've been the problem. --- firmware/funk/mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/funk/mesh.c b/firmware/funk/mesh.c index 5fbd393..e75603e 100644 --- a/firmware/funk/mesh.c +++ b/firmware/funk/mesh.c @@ -211,7 +211,7 @@ static inline uint32_t popcount(uint32_t *buf, uint8_t n){ uint8_t mesh_recvqloop_work(void){ __attribute__ ((aligned (4))) uint8_t buf[32]; - unsigned int len; + signed int len; len=nrf_rcv_pkt_poll_dec(sizeof(buf),buf,NULL);