fix offsets

This commit is contained in:
Stefan `Sec` Zehl 2011-08-06 03:05:36 +02:00
parent ea6638c795
commit 6788c89f02
1 changed files with 2 additions and 2 deletions

View File

@ -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;