Merge branch 'master' into meshdebug
This commit is contained in:
commit
da38c7a0c4
|
@ -153,7 +153,6 @@ int nrf_rcv_pkt_poll_dec(int maxsize, uint8_t * pkt, uint32_t const key[4]){
|
||||||
|
|
||||||
// if(key==NULL) return len;
|
// if(key==NULL) return len;
|
||||||
|
|
||||||
cmpcrc=crc16(pkt,len-2);
|
|
||||||
if(key!=NULL)
|
if(key!=NULL)
|
||||||
xxtea_decode_words((uint32_t*)pkt,len/4,key);
|
xxtea_decode_words((uint32_t*)pkt,len/4,key);
|
||||||
|
|
||||||
|
|
|
@ -135,6 +135,8 @@ void m_time(void){
|
||||||
lcdNl();
|
lcdNl();
|
||||||
lcdPrint("Nice:");
|
lcdPrint("Nice:");
|
||||||
lcdPrintInt(meshnice);
|
lcdPrintInt(meshnice);
|
||||||
|
lcdPrint(" R:");
|
||||||
|
lcdPrint(IntToStrX(getrelease()%0xfff,3));
|
||||||
lcdNl();
|
lcdNl();
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
|
|
||||||
|
|
|
@ -77,5 +77,5 @@ int main(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getrelease(void){
|
int getrelease(void){
|
||||||
return 0x00000107;
|
return 0x00000108;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue