Fix warnings.
This commit is contained in:
parent
c2ff7c3060
commit
72e04c1d38
|
@ -234,7 +234,7 @@ void m_choose(){
|
||||||
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+18),8));
|
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+18),8));
|
||||||
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+22),8));
|
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+22),8));
|
||||||
lcdPrintln(IntToStrX(uint8ptouint32(meshbuffer[j].pkt+26),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.");
|
lcdPrintln(" pts.");
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
getInputWaitRelease();
|
getInputWaitRelease();
|
||||||
|
|
|
@ -188,7 +188,7 @@ uint8_t mesh_recvqloop_work(void){
|
||||||
for(int i=6;i<MESHPKTSIZE;i++)
|
for(int i=6;i<MESHPKTSIZE;i++)
|
||||||
mpkt->pkt[i]|=buf[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');
|
MPKT* reply=meshGetMessage('z');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue