static void timetick(unsigned int systick) { Cent_To_Disp(); if(Dis_deviceid_flag>=2) { Dis_deviceid_flag++; if(Dis_deviceid_flag>=50) { Dis_deviceid_flag=0; } } CounterBack++; if(CounterBack!=MaxBankIdleTime*5) return; CounterBack=0; if(Password_correctFlag==1) { pMenuItem=&Menu_1_Idle; pMenuItem->show(); memset(password_Code,0,sizeof(password_Code)); password_SetFlag=1; password_Counter=0; } }
static void timetick(unsigned int systick) { Cent_To_Disp(); CounterBack++; if(CounterBack!=MaxBankIdleTime) return; CounterBack=0; pMenuItem=&Menu_1_Idle; pMenuItem->show(); }
static void timetick(unsigned int systick) { //u8 Reg_buf[22]; if(deviceID_set_num==10) { deviceID_set_num=0; pMenuItem=&Menu_0_11_deviceID; pMenuItem->show(); } else if(reset_firstset==6) { reset_firstset++; //---------------------------------------------------------------------------------- JT808Conf_struct.password_flag=0; // clear first flag Api_Config_Recwrite_Large(jt808,0,(u8*)&JT808Conf_struct,sizeof(JT808Conf_struct)); //---------------------------------------------------------------------------------- } else if(reset_firstset>=7)//50ms一次,,60s { reset_firstset++; lcd_fill(0); lcd_text12(0,3,"需重新设置车牌号和ID",20,LCD_MODE_SET); lcd_text12(24,18,"重新加电查看",12,LCD_MODE_SET); lcd_update_all(); } else { //主电源掉电 if(Warn_Status[1]&0x01) { BuzzerFlag=11; lcd_fill(0); lcd_text12(30,10,"主电源掉电",10,LCD_MODE_SET); lcd_update_all(); } //循环显示待机界面 tickcount++; if(tickcount>=16) { tickcount=0; Disp_Idle(); } } Cent_To_Disp(); }