diff options
| author | hathach <[email protected]> | 2023-09-27 15:51:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-09-27 15:51:03 +0700 |
| commit | 3b0ffd0f488671f1bafa4bcd9e22dd51f8bb6dee (patch) | |
| tree | 65eaf4b9e46bb91c86d284d5dcf634bd6741d75f /src/portable/renesas | |
| parent | 46f7cf4da2959b96d3af6b7f23d0d02ff7187f2f (diff) | |
change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default =
true)
Diffstat (limited to 'src/portable/renesas')
| -rw-r--r-- | src/portable/renesas/rusb2/hcd_rusb2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/portable/renesas/rusb2/hcd_rusb2.c b/src/portable/renesas/rusb2/hcd_rusb2.c index 790cd6b32..bf95be707 100644 --- a/src/portable/renesas/rusb2/hcd_rusb2.c +++ b/src/portable/renesas/rusb2/hcd_rusb2.c @@ -771,8 +771,9 @@ bool hcd_edpt_clear_stall(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) { //--------------------------------------------------------------------+ // ISR //--------------------------------------------------------------------+ -void hcd_int_handler(uint8_t rhport) -{ +void hcd_int_handler(uint8_t rhport, bool in_isr) { + (void) in_isr; + rusb2_reg_t* rusb = RUSB2_REG(rhport); unsigned is0 = rusb->INTSTS0; unsigned is1 = rusb->INTSTS1; |
