diff options
| author | hathach <[email protected]> | 2024-04-22 15:55:50 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-22 15:55:50 +0700 |
| commit | 62331f02070bdb1bec2890885008e9f88b06bdb6 (patch) | |
| tree | 56a5e57c78188955ceaa0e5cfffffad189286ce2 /examples | |
| parent | c8e533e61222aa3ccdda291709abd6215e685d95 (diff) | |
fix nrfx v3 spim freq when init
fix clang build with nrf
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/msc_app.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/msc_app.c b/examples/host/cdc_msc_hid/src/msc_app.c index e9c9676b8..1d7e18e6e 100644 --- a/examples/host/cdc_msc_hid/src/msc_app.c +++ b/examples/host/cdc_msc_hid/src/msc_app.c @@ -48,8 +48,8 @@ bool inquiry_complete_cb(uint8_t dev_addr, tuh_msc_complete_data_t const * cb_da uint32_t const block_count = tuh_msc_get_block_count(dev_addr, cbw->lun); uint32_t const block_size = tuh_msc_get_block_size(dev_addr, cbw->lun); - printf("Disk Size: %lu MB\r\n", block_count / ((1024*1024)/block_size)); - printf("Block Count = %lu, Block Size: %lu\r\n", block_count, block_size); + printf("Disk Size: %" PRIu32 " MB\r\n", block_count / ((1024*1024)/block_size)); + printf("Block Count = %" PRIu32 ", Block Size: %" PRIu32 "\r\n", block_count, block_size); return true; } |
