X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/6efd62917aa6ec2eac5fc633c21c28c4830c2087..d8fa6a36ffba80be398c90641b3e7e7a79d56d43:/avr/init.asm diff --git a/avr/init.asm b/avr/init.asm index 914f399..37b5a22 100644 --- a/avr/init.asm +++ b/avr/init.asm @@ -85,7 +85,6 @@ clr_l: cpc zh,temp2 brne clr_l - ; Init clock/timer system ; Init timer 1 as 1 ms system clock tick. @@ -120,6 +119,11 @@ clr_l: sei +#if I2C + rcall i2c_init ; Init I2C master + rcall rtc_get +#endif + .if BOOTWAIT ldi temp,10