Преглед изворни кода

del:luat_i2c_setup接口废弃slaveaddr参数

Dozingfiretruck пре 3 година
родитељ
комит
fe5c4025a7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application/src/luat_i2c_air105.c

+ 1 - 1
application/src/luat_i2c_air105.c

@@ -32,7 +32,7 @@ int luat_i2c_exist(int id) {
     return id == 0;
 }
     
-int luat_i2c_setup(int id, int speed, int slaveaddr) {
+int luat_i2c_setup(int id, int speed) {
     if (speed == 0) {
         speed = 100 * 1000; // SLOW
     }