- // Configure lower left push button.
- gpio::set_direction(gpio::GPIOE, 1 << 24, gpio::Direction::Input);
- port::set_af(port::PORTE, 24, 1);
- port::set_pull(port::PORTE, 24, port::Pull::Up);
+ // Configure middle left push button.
+ gpio::set_direction(gpio::GPIOE, 1 << 31, gpio::Direction::Input);
+ port::set_af(port::PORTE, 31, 1);
+ port::set_pull(port::PORTE, 31, port::Pull::Up);