File tree Expand file tree Collapse file tree
Inc/HALAL/Services/Communication/Ethernet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,9 +97,8 @@ struct EthernetDomain {
9797 DigitalOutputDomain::DigitalOutput phy_reset;
9898 std::optional<GPIODomain::GPIO> rxer_gpio;
9999
100- static consteval std::optional<GPIODomain::GPIO> make_rxer_gpio (
101- EthernetPins::OptionalPin rxer_pin
102- ) {
100+ static consteval std::optional<GPIODomain::GPIO>
101+ make_rxer_gpio (EthernetPins::OptionalPin rxer_pin) {
103102 if (!rxer_pin.has_value ()) {
104103 return std::nullopt ;
105104 }
@@ -187,8 +186,7 @@ struct EthernetDomain {
187186 GPIODomain::AlternateFunction::AF11
188187 )
189188 },
190- phy_reset{pins.PHY_RST },
191- rxer_gpio{make_rxer_gpio (pins.RXER )} {}
189+ phy_reset{pins.PHY_RST }, rxer_gpio{make_rxer_gpio (pins.RXER )} {}
192190
193191 template <class Ctx > consteval std::size_t inscribe (Ctx& ctx) const {
194192 for (const auto & gpio : rmii_gpios) {
You can’t perform that action at this time.
0 commit comments