diff options
| author | hathach <[email protected]> | 2018-11-14 16:31:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-11-14 16:31:28 +0700 |
| commit | 10bf41f718ea867a3621e11b4c49e72605bbcc89 (patch) | |
| tree | 788f3613c3a2c0ec500dda16fcb7ae5ed2062513 /examples/device | |
| parent | 5732be224c69c35efdc44f250e83e42cf52e2526 (diff) | |
change osal_queue_receive() signature
- fix build issue with freertos
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/nrf52840_freertos/src/msc_flash_qspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/nrf52840_freertos/src/msc_flash_qspi.c b/examples/device/nrf52840_freertos/src/msc_flash_qspi.c index 53bdc5a71..30adf1d92 100644 --- a/examples/device/nrf52840_freertos/src/msc_flash_qspi.c +++ b/examples/device/nrf52840_freertos/src/msc_flash_qspi.c @@ -61,7 +61,7 @@ int32_t tud_msc_read10_cb(uint8_t lun, uint32_t lba, uint32_t offset, void* buff // Callback invoked when received WRITE10 command. // Process data in buffer to disk's storage and return number of written bytes -int32_t tud_msc_write10_cb(uint8_t lun, uint32_t lba, uint32_t offset, void* buffer, uint32_t bufsize) +int32_t tud_msc_write10_cb(uint8_t lun, uint32_t lba, uint32_t offset, uint8_t* buffer, uint32_t bufsize) { uint32_t addr = lba * CFG_TUD_MSC_BLOCK_SZ + offset; |
