Honor privacy in mesh

This commit is contained in:
Stefan `Sec` Zehl 2011-08-03 00:25:09 +02:00
parent 718f3fc381
commit 5a19b970bb
1 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#include "basic/basic.h" #include "basic/basic.h"
#include "basic/byteorder.h" #include "basic/byteorder.h"
#include "basic/config.h"
#include "lcd/lcd.h" #include "lcd/lcd.h"
#include "lcd/print.h" #include "lcd/print.h"
@ -175,7 +176,7 @@ char *meshmsgs(void){
extern MPKT meshbuffer[MESHBUFSIZE]; extern MPKT meshbuffer[MESHBUFSIZE];
//# MENU mesh Messages //# MENU Messages
void m_choose(){ void m_choose(){
char list[99]; char list[99];
int i=0; int i=0;
@ -272,6 +273,7 @@ void m_choose(){
void tick_mesh(void){ void tick_mesh(void){
mesh_systick(); if(GLOBAL(privacy)<2)
mesh_systick();
}; };