Ensure that enum values are used When assigning `pull_up_en` and `pull_down_en` fields of `gpio_config_t`. Helps avoid `invalid conversion` errors when building those code snippets in C++.