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/raspberrypi | |
| 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/raspberrypi')
| -rw-r--r-- | src/portable/raspberrypi/rp2040/hcd_rp2040.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/raspberrypi/rp2040/hcd_rp2040.c b/src/portable/raspberrypi/rp2040/hcd_rp2040.c index 21dc3f67d..4ed6d36bb 100644 --- a/src/portable/raspberrypi/rp2040/hcd_rp2040.c +++ b/src/portable/raspberrypi/rp2040/hcd_rp2040.c @@ -252,9 +252,9 @@ static void __tusb_irq_path_func(hcd_rp2040_irq)(void) } } -void __tusb_irq_path_func(hcd_int_handler)(uint8_t rhport) -{ +void __tusb_irq_path_func(hcd_int_handler)(uint8_t rhport, bool in_isr) { (void) rhport; + (void) in_isr; hcd_rp2040_irq(); } |
