Jelajahi Sumber

Comment out I2C

androda 3 tahun lalu
induk
melakukan
ab27fc129b
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      lib/BlueSCSI_platform_RP2040/BlueSCSI_platform.cpp

+ 2 - 2
lib/BlueSCSI_platform_RP2040/BlueSCSI_platform.cpp

@@ -94,8 +94,8 @@ void bluescsiplatform_init()
 
     // I2C pins
     //        pin             function       pup   pdown  out    state fast
-    gpio_conf(GPIO_I2C_SCL,   GPIO_FUNC_I2C, true,false, false,  true, true);
-    gpio_conf(GPIO_I2C_SDA,   GPIO_FUNC_I2C, true,false, false,  true, true);
+    //gpio_conf(GPIO_I2C_SCL,   GPIO_FUNC_I2C, true,false, false,  true, true);
+    //gpio_conf(GPIO_I2C_SDA,   GPIO_FUNC_I2C, true,false, false,  true, true);
 }
 
 static bool read_initiator_dip_switch()