Parcourir la source

fw: drop RTC I2C frequency to 100 kHz

H. Peter Anvin il y a 3 ans
Parent
commit
ef652637f0
2 fichiers modifiés avec 2784 ajouts et 2787 suppressions
  1. 2783 2783
      fw/boot.mif
  2. 1 4
      fw/rtc.c

Fichier diff supprimé car celui-ci est trop grand
+ 2783 - 2783
fw/boot.mif


+ 1 - 4
fw/rtc.c

@@ -50,10 +50,7 @@ void read_rtc(void)
     uint8_t rtc_regs[RTC_REGS];
     int i;
     
-    i2c_set_speed(400);
-    
-    /* Synchronize I2C */
-    i2c_send(0xff, I2C_P);
+    i2c_set_speed(100);
     
     i2c_send(RTC_WCMD, 0);
 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff