Skip to content

Commit ad0ac67

Browse files
committed
change OPT_MCU_RAXXX, fix missing prototype warnings.
1 parent 0785dae commit ad0ac67

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.idea/cmake.xml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/device/usbd_control.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ TU_ATTR_WEAK void dcd_edpt0_status_complete(uint8_t rhport, const tusb_control_r
4444
// MACRO CONSTANT TYPEDEF
4545
//--------------------------------------------------------------------+
4646

47-
#if CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL
48-
extern void usbd_driver_print_control_complete_name(usbd_control_xfer_cb_t callback);
49-
#endif
50-
5147
enum {
5248
EDPT_CTRL_OUT = 0x00,
5349
EDPT_CTRL_IN = 0x80

src/device/usbd_pvt.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ void usbd_sof_enable(uint8_t rhport, sof_consumer_t consumer, bool en);
127127
bool usbd_open_edpt_pair(uint8_t rhport, uint8_t const* p_desc, uint8_t ep_count, uint8_t xfer_type, uint8_t* ep_out, uint8_t* ep_in);
128128
void usbd_defer_func(osal_task_func_t func, void *param, bool in_isr);
129129

130+
131+
#if CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL
132+
void usbd_driver_print_control_complete_name(usbd_control_xfer_cb_t callback);
133+
#endif
134+
130135
#ifdef __cplusplus
131136
}
132137
#endif

src/tusb_option.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
#define OPT_MCU_RX63X 1400 ///< Renesas RX63N/631
153153
#define OPT_MCU_RX65X 1401 ///< Renesas RX65N/RX651
154154
#define OPT_MCU_RX72N 1402 ///< Renesas RX72N
155-
#define OPT_MCU_RAXXX 1403 ///< Renesas RAxxx families
155+
#define OPT_MCU_RAXXX 1420 ///< Renesas RA generic
156156

157157
// Mind Motion
158158
#define OPT_MCU_MM32F327X 1500 ///< Mind Motion MM32F327

0 commit comments

Comments
 (0)