Make mesh also broadcast getrelease()
This commit is contained in:
parent
58d35a7330
commit
7b5f8739a2
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue