cam: Use a named constant instead of a number

This commit is contained in:
Jeff Epler 2021-06-07 08:21:11 -05:00
parent 400d1d90c9
commit 8c88ab8142
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ static void cam_set_pin(const cam_config_t *config) {
gpio_matrix_in(config->pin_data[i], I2S0I_DATA_IN0_IDX + (16 - config->bit_width) + i, false);
}
gpio_matrix_in(0x38, I2S0I_H_ENABLE_IDX, false);
gpio_matrix_in(GPIO_FUNC_IN_HIGH, I2S0I_H_ENABLE_IDX, false);
ESP_LOGI(TAG, "cam_set_pin\n");
}