Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H7: clean up peripherals.h #1597

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions board/stm32h7/peripherals.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,6 @@ void common_init_gpio(void) {
set_gpio_mode(GPIOE, 4, MODE_OUTPUT);
set_gpio_output_type(GPIOE, 4, OUTPUT_TYPE_OPEN_DRAIN);

// F7,F8,F9,F10: BOARD ID
set_gpio_pullup(GPIOF, 7, PULL_NONE);
set_gpio_mode(GPIOF, 7, MODE_INPUT);

set_gpio_pullup(GPIOF, 8, PULL_NONE);
set_gpio_mode(GPIOF, 8, MODE_INPUT);

set_gpio_pullup(GPIOF, 9, PULL_NONE);
set_gpio_mode(GPIOF, 9, MODE_INPUT);

set_gpio_pullup(GPIOF, 10, PULL_NONE);
set_gpio_mode(GPIOF, 10, MODE_INPUT);

//C4,A1: OBD_SBU1, OBD_SBU2
set_gpio_pullup(GPIOC, 4, PULL_NONE);
set_gpio_mode(GPIOC, 4, MODE_ANALOG);
Expand Down