From 6788c89f022d376bf55155548c6f8b93b83bbfd0 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Sat, 6 Aug 2011 03:05:36 +0200 Subject: [PATCH] fix offsets --- firmware/funk/mesh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/funk/mesh.c b/firmware/funk/mesh.c index 2e75b51..f64b22b 100644 --- a/firmware/funk/mesh.c +++ b/firmware/funk/mesh.c @@ -90,9 +90,9 @@ void mesh_sendloop(void){ MO_TIME_set(meshbuffer[0].pkt,getSeconds()); MO_GEN_set(meshbuffer[0].pkt,meshgen); if(GLOBAL(privacy)==0) - uint32touint8p(GetUUID32(),MO_BODY(meshbuffer[0].pkt)); + uint32touint8p(GetUUID32(),meshbuffer[0].pkt+26); else - uint32touint8p(0,MO_BODY(meshbuffer[0].pkt)); + uint32touint8p(0,meshbuffer[0].pkt+26); MO_BODY(meshbuffer[0].pkt)[4]=meshnice;