also show date.

This commit is contained in:
Stefan `Sec` Zehl 2011-08-03 23:36:16 +02:00
parent 28375b9ed1
commit d490211d92
1 changed files with 9 additions and 0 deletions

View File

@ -199,6 +199,15 @@ void m_choose(){
lcdPrint(":"); lcdPrint(":");
lcdPrint(IntToStr(tm->tm_sec,2,F_LONG|F_ZEROS)); lcdPrint(IntToStr(tm->tm_sec,2,F_LONG|F_ZEROS));
lcdNl(); lcdNl();
if(tmm[i]=='T'){
lcdPrint(IntToStr(tm->tm_mday,2,F_LONG));
lcdPrint(".");
lcdPrint(IntToStr(tm->tm_mon+1,2,0));
lcdPrint(".");
lcdPrint(IntToStr(tm->tm_year+YEAR0,4,F_LONG|F_ZEROS));
lcdNl();
};
}; };
char *foo=(char *)MO_BODY(meshbuffer[j].pkt); char *foo=(char *)MO_BODY(meshbuffer[j].pkt);
while(strlen(foo)>13){ while(strlen(foo)>13){