Restore mesh to old condition on master branch
This commit is contained in:
parent
a76813ffe3
commit
ccaa6cd00e
|
@ -43,8 +43,6 @@ void initMesh(void){
|
||||||
int mesh_sanity(uint8_t * pkt){
|
int mesh_sanity(uint8_t * pkt){
|
||||||
if(MO_TYPE(pkt)>0x7f || MO_TYPE(pkt)<0x20)
|
if(MO_TYPE(pkt)>0x7f || MO_TYPE(pkt)<0x20)
|
||||||
return MP_SEND;
|
return MP_SEND;
|
||||||
if(MO_TYPE(pkt)=='T' && MO_BODY(pkt)[5])
|
|
||||||
return MP_SEND;
|
|
||||||
if(MO_TYPE(pkt)=='T' && MO_TIME(pkt)<86400)
|
if(MO_TYPE(pkt)=='T' && MO_TIME(pkt)<86400)
|
||||||
return MP_OK;
|
return MP_OK;
|
||||||
if(MO_TYPE(pkt)>='A' && MO_TYPE(pkt)<='Z'){
|
if(MO_TYPE(pkt)>='A' && MO_TYPE(pkt)<='Z'){
|
||||||
|
@ -96,8 +94,8 @@ MPKT * meshGetMessage(uint8_t type){
|
||||||
};
|
};
|
||||||
|
|
||||||
void meshPanic(uint8_t * pkt,int bufno){
|
void meshPanic(uint8_t * pkt,int bufno){
|
||||||
|
#if 0
|
||||||
static int done=0;
|
static int done=0;
|
||||||
#if 1
|
|
||||||
if(!done){
|
if(!done){
|
||||||
setSystemFont();
|
setSystemFont();
|
||||||
lcdClear();
|
lcdClear();
|
||||||
|
|
Loading…
Reference in New Issue