Bladeren bron

Fix nested comment warning (#17045)

thisiskeithb 4 jaren geleden
bovenliggende
commit
e0c0173f73
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 3
    2
      buildroot/share/PlatformIO/variants/BIGTREE_BTT002/PeripheralPins.c

+ 3
- 2
buildroot/share/PlatformIO/variants/BIGTREE_BTT002/PeripheralPins.c Bestand weergeven

@@ -323,7 +323,7 @@ const PinMap PinMap_USB_OTG_HS[] = { /*
323 323
     {PB_14, USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_OTG_HS_FS)}, // USB_OTG_HS_DM
324 324
     {PB_15, USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_OTG_HS_FS)}, // USB_OTG_HS_DP
325 325
   #else
326
-  #error "USB in HS mode isn't supported by the board"
326
+    #error "USB in HS mode isn't supported by the board"
327 327
     {PA_3,  USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_HS)}, // USB_OTG_HS_ULPI_D0
328 328
     {PB_0,  USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_HS)}, // USB_OTG_HS_ULPI_D1
329 329
     {PB_1,  USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_HS)}, // USB_OTG_HS_ULPI_D2
@@ -334,7 +334,8 @@ const PinMap PinMap_USB_OTG_HS[] = { /*
334 334
     {PC_0,  USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_HS)}, // USB_OTG_HS_ULPI_STP
335 335
     {PC_2,  USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_HS)}, // USB_OTG_HS_ULPI_DIR
336 336
     {PC_3,  USB_OTG_HS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_HS)}, // USB_OTG_HS_ULPI_NXT
337
-  #endif /* USE_USB_HS_IN_FS */
337
+  #endif // USE_USB_HS_IN_FS
338
+  */
338 339
   {NC,    NP,    0}
339 340
 };
340 341
 #endif

Laden…
Annuleren
Opslaan