Skip to content

Commit 8c88ab8

Browse files
committed
cam: Use a named constant instead of a number
1 parent 400d1d9 commit 8c88ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/esp32s2/cam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static void cam_set_pin(const cam_config_t *config) {
205205
gpio_matrix_in(config->pin_data[i], I2S0I_DATA_IN0_IDX + (16 - config->bit_width) + i, false);
206206
}
207207

208-
gpio_matrix_in(0x38, I2S0I_H_ENABLE_IDX, false);
208+
gpio_matrix_in(GPIO_FUNC_IN_HIGH, I2S0I_H_ENABLE_IDX, false);
209209
ESP_LOGI(TAG, "cam_set_pin\n");
210210
}
211211

0 commit comments

Comments
 (0)