Skip to content

Commit f75a009

Browse files
committed
fix unnecessary statement order change
1 parent b5d2cc6 commit f75a009

File tree

1 file changed

+1
-1
lines changed
  • ports/esp32s2/common-hal/busio

1 file changed

+1
-1
lines changed

ports/esp32s2/common-hal/busio/I2C.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ void common_hal_busio_i2c_deinit(busio_i2c_obj_t *self) {
144144

145145
i2c_driver_delete(self->i2c_num);
146146

147-
common_hal_reset_pin(self->scl_pin);
148147
common_hal_reset_pin(self->sda_pin);
148+
common_hal_reset_pin(self->scl_pin);
149149
self->sda_pin = NULL;
150150
self->scl_pin = NULL;
151151

0 commit comments

Comments
 (0)