summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-07-28 22:28:22 +0700
committerhathach <[email protected]>2025-07-28 22:28:22 +0700
commit3682b6c6631c63f1dac2096787c0f983ac77e734 (patch)
treed7fc45eccc5fb6af67edc8c04aebdbc34476d8e6 /src
parentf4843c0307d67870044319b599e4f6ed1c5f1577 (diff)
fix pre-commit, remove svd file since they are heavy and should be in mcu/sdk instead
add cmake support for f403a_407 and f423
Diffstat (limited to 'src')
-rw-r--r--src/portable/synopsys/dwc2/dwc2_at32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/portable/synopsys/dwc2/dwc2_at32.h b/src/portable/synopsys/dwc2/dwc2_at32.h
index 10832a702..1150d825b 100644
--- a/src/portable/synopsys/dwc2/dwc2_at32.h
+++ b/src/portable/synopsys/dwc2/dwc2_at32.h
@@ -109,13 +109,13 @@ static inline void dwc2_phy_init(dwc2_regs_t * dwc2, uint8_t hs_phy_type)
{
(void) dwc2;
// Enable on-chip HS PHY
- if (hs_phy_type == GHWCFG2_HSPHY_UTMI || hs_phy_type == GHWCFG2_HSPHY_UTMI_ULPI)
+ if (hs_phy_type == GHWCFG2_HSPHY_UTMI || hs_phy_type == GHWCFG2_HSPHY_UTMI_ULPI)
{
-
+
}
else if(hs_phy_type == GHWCFG2_HSPHY_NOT_SUPPORTED)
{
-
+
}
}