summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-12-05 12:09:41 +0700
committerhathach <[email protected]>2022-12-05 12:09:41 +0700
commitde5a67bf3b8737a580539c5fbc6a054c90e4a084 (patch)
tree42ecb08765999aa78d2dfd8a9b862650233b88e7 /src/portable
parent52261ac02dfbe58f35f959be852f0949cc0744cd (diff)
clean osal_freertos, update freertos examples to work with configSUPPORT_DYNAMIC_ALLOCATION only
note: for example to build with configSUPPORT_STATIC_ALLOCATION = 0, one of heap_n.c must be included in makefile/cmake
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/ehci/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c
index 361015964..76ba2a921 100644
--- a/src/portable/ehci/ehci.c
+++ b/src/portable/ehci/ehci.c
@@ -193,7 +193,7 @@ static void list_remove_qhd_by_addr(ehci_link_t* list_head, uint8_t dev_addr)
{
// TODO check type for ISO iTD and siTD
// TODO Suppress cast-align warning
- #pragma GCC diagnostic push
+ #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-align"
ehci_qhd_t* qhd = (ehci_qhd_t*) list_next(prev);
#pragma GCC diagnostic pop