Update main.c
rodzic
750ab2643e
commit
c98bd9c6f3
|
@ -33,7 +33,7 @@ void main() {
|
|||
if(RCON.B3==0) Restart = 1;
|
||||
pic_init();
|
||||
//
|
||||
Delay_ms (100);
|
||||
Delay_ms (300);
|
||||
asm CLRWDT;
|
||||
cells_init();
|
||||
Soft_I2C_Init();
|
||||
|
@ -43,7 +43,7 @@ void main() {
|
|||
}
|
||||
dysp_cnt = Dysp_delay * dysp_cnt_mult;
|
||||
//
|
||||
Delay_ms(200);
|
||||
Delay_ms(300);
|
||||
asm CLRWDT;
|
||||
if(PORTB.B1==0 & PORTB.B2==0) { // Test mode
|
||||
Test = 1;
|
||||
|
@ -817,4 +817,4 @@ void cells_init(void) {
|
|||
asm CLRWDT;
|
||||
return;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue