Merge branch 'master' of github.com:r0ket/r0ket
This commit is contained in:
commit
06db5d81c2
|
@ -234,7 +234,7 @@ void m_choose(){
|
|||
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+18),8));
|
||||
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+22),8));
|
||||
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+26),8));
|
||||
lcdPrint(IntToStr(popcount(meshbuffer[j].pkt+6,6),3,0));
|
||||
lcdPrint(IntToStr(popcount((uint32_t*)(meshbuffer[j].pkt+6),6),3,0));
|
||||
lcdPrintln(" pts.");
|
||||
lcdRefresh();
|
||||
getInputWaitRelease();
|
||||
|
|
|
@ -188,7 +188,7 @@ uint8_t mesh_recvqloop_work(void){
|
|||
for(int i=6;i<MESHPKTSIZE;i++)
|
||||
mpkt->pkt[i]|=buf[i];
|
||||
|
||||
int score=popcount(MO_BODY(mpkt->pkt),6);
|
||||
int score=popcount((uint32_t*)MO_BODY(mpkt->pkt),6);
|
||||
|
||||
MPKT* reply=meshGetMessage('z');
|
||||
|
||||
|
|
Loading…
Reference in New Issue