summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-18 17:18:11 +0700
committerhathach <[email protected]>2021-06-18 17:18:11 +0700
commit82618d2d5f15d0f8dd9631dec3807964a1281782 (patch)
treee84fbd0c81d65b0678a6369a7797d17b3aea5be4 /src/class/cdc/cdc_device.h
parent5006b1065a21099d3c62bf2ea3ecf6c1e82d2723 (diff)
fix build with mm32 board
Diffstat (limited to 'src/class/cdc/cdc_device.h')
-rw-r--r--src/class/cdc/cdc_device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index 7ff757add..72e29705a 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -82,7 +82,7 @@ int32_t tud_cdc_n_read_char (uint8_t itf);
void tud_cdc_n_read_flush (uint8_t itf);
// Get a byte from FIFO at the specified position without removing it
-bool tud_cdc_n_peek (uint8_t itf, uint8_t* u8);
+bool tud_cdc_n_peek (uint8_t itf, uint8_t* uv8);
// Write bytes to TX FIFO, data may remain in the FIFO for a while
uint32_t tud_cdc_n_write (uint8_t itf, void const* buffer, uint32_t bufsize);
@@ -206,9 +206,9 @@ static inline void tud_cdc_read_flush (void)
tud_cdc_n_read_flush(0);
}
-static inline bool tud_cdc_peek (uint8_t* u8)
+static inline bool tud_cdc_peek (uint8_t* uv8)
{
- return tud_cdc_n_peek(0, u8);
+ return tud_cdc_n_peek(0, uv8);
}
static inline uint32_t tud_cdc_write_char (char ch)