Mesh now back working.
This commit is contained in:
parent
49a78b1907
commit
26d0ff0b19
|
@ -197,7 +197,10 @@ uint8_t mesh_recvqloop_work(void){
|
||||||
|
|
||||||
MO_TIME_set(reply->pkt,score);
|
MO_TIME_set(reply->pkt,score);
|
||||||
strcpy((char*)MO_BODY(reply->pkt),GLOBAL(nickname));
|
strcpy((char*)MO_BODY(reply->pkt),GLOBAL(nickname));
|
||||||
|
if(GLOBAL(privacy)==0){
|
||||||
|
uint32touint8p(GetUUID32(),meshbuffer[0].pkt+26);
|
||||||
|
meshbuffer[0].pkt[25]=0;
|
||||||
|
};
|
||||||
return 1;
|
return 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -167,6 +167,10 @@ static bool highscore_set(uint32_t score, char nick[]) {
|
||||||
|
|
||||||
MO_TIME_set(mpkt->pkt,score);
|
MO_TIME_set(mpkt->pkt,score);
|
||||||
strcpy((char*)MO_BODY(mpkt->pkt),nick);
|
strcpy((char*)MO_BODY(mpkt->pkt),nick);
|
||||||
|
if(GLOBAL(privacy)==0){
|
||||||
|
uint32touint8p(GetUUID32(),mpkt->pkt+26);
|
||||||
|
mpkt->pkt[25]=0;
|
||||||
|
};
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue