mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-15 20:33:16 +00:00
Multi Module Board Definition Updates (#133)
This commit is contained in:
@@ -345,12 +345,12 @@ static inline void usb_clear_status_out(uint8 ep) {
|
||||
/*
|
||||
* PMA conveniences
|
||||
*/
|
||||
|
||||
/*
|
||||
void usb_copy_to_pma(const uint8 *buf, uint16 len, uint16 pma_offset);
|
||||
void usb_copy_from_pma(uint8 *buf, uint16 len, uint16 pma_offset);
|
||||
|
||||
static inline void* usb_pma_ptr(uint32 offset) {
|
||||
return (void*)(USB_PMA_BASE + 2 * offset);
|
||||
*/
|
||||
static inline uint32 * usb_pma_ptr(uint32 offset) {
|
||||
return (uint32*)(USB_PMA_BASE + 2 * offset);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -567,7 +567,7 @@ static inline uint16 usb_get_ep_rx_buf0_count(uint8 ep) {
|
||||
return usb_get_ep_tx_count(ep);
|
||||
}
|
||||
|
||||
void usb_set_ep_rx_buf0_count(uint8 ep, uint16 count);
|
||||
//void usb_set_ep_rx_buf0_count(uint8 ep, uint16 count);
|
||||
|
||||
static inline uint32* usb_ep_rx_buf1_count_ptr(uint8 ep) {
|
||||
return usb_ep_rx_count_ptr(ep);
|
||||
|
||||
Reference in New Issue
Block a user