Skip to content

Commit 7f00ed5

Browse files
committed
revert interface issue
1 parent 8f681e8 commit 7f00ed5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sensor/interface.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ int ssi_write(enum sensor_interface_dev dev, const uint8_t *buf, uint32_t num_by
143143
#endif
144144
case SENSOR_INTERFACE_SPEC_I2C:
145145
return i2c_write_dt(sensor_interface_dev_i2c[dev], buf, num_bytes);
146-
case SENSOR_INTERFACE_SPEC_EXT:
147-
if (ext_ssi != NULL)
148-
return ext_ssi->ext_write(ext_addr, buf, num_bytes);
146+
case SENSOR_INTERFACE_SPEC_EXT:
147+
if (ext_ssi != NULL)
148+
return ext_ssi->ext_write(ext_addr, buf, num_bytes);
149149
default:
150150
return -1;
151151
}

0 commit comments

Comments
 (0)