diff options
| author | hathach <[email protected]> | 2024-04-22 16:17:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-22 16:17:22 +0700 |
| commit | c097c85dcf8e0ef3ea052c146c5f514101827251 (patch) | |
| tree | 1a0956149ddd6f9967ced1ef2609ab2afa3c9a2d /src/portable | |
| parent | 62331f02070bdb1bec2890885008e9f88b06bdb6 (diff) | |
fix print lu format warnings with clang
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/nordic/nrf5x/dcd_nrf5x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/nordic/nrf5x/dcd_nrf5x.c b/src/portable/nordic/nrf5x/dcd_nrf5x.c index 56e7f39a0..2fe721d6b 100644 --- a/src/portable/nordic/nrf5x/dcd_nrf5x.c +++ b/src/portable/nordic/nrf5x/dcd_nrf5x.c @@ -147,7 +147,7 @@ static void start_dma(volatile uint32_t* reg_startep) { static void edpt_dma_start(volatile uint32_t* reg_startep) { if (atomic_flag_test_and_set(&_dcd.dma_running)) { - usbd_defer_func((osal_task_func_t) edpt_dma_start, (void*) (uintptr_t) reg_startep, true); + usbd_defer_func((osal_task_func_t)(uintptr_t ) edpt_dma_start, (void*) (uintptr_t) reg_startep, true); } else { start_dma(reg_startep); } |
