diff --git a/firmware/funk/mesh.c b/firmware/funk/mesh.c index ef7059b..235da21 100644 --- a/firmware/funk/mesh.c +++ b/firmware/funk/mesh.c @@ -172,10 +172,13 @@ void mesh_sendloop(void){ // Update [T]ime packet MO_TIME_set(meshbuffer[0].pkt,getSeconds()); MO_GEN_set(meshbuffer[0].pkt,meshgen); - if(GLOBAL(privacy)==0) + if(GLOBAL(privacy)==0){ uint32touint8p(GetUUID32(),meshbuffer[0].pkt+26); - else + uint32touint8p(getrelease(),meshbuffer[0].pkt+22); + }else{ uint32touint8p(0,meshbuffer[0].pkt+26); + uint32touint8p(0,meshbuffer[0].pkt+22); + }; MO_BODY(meshbuffer[0].pkt)[4]=meshnice;