mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
VA Fixes: USB IRQ Handling and EP configuration, Thread handler shenanigans. (#3705)
* FuriHal: properly handle high priority USB IRQ, change CDC decriptor to use separate TX/RX endpoints * Furi: drop task handle, cleanup casts and memory corrupt in threads * FuriHal: update max power in USB descriptors * Furi: properly handle thread free if thread was not started * Furi crash: meaningful interrupt name instead of id --------- Co-authored-by: SG <who.just.the.doctor@gmail.com>
This commit is contained in:
@@ -110,6 +110,14 @@ void furi_hal_interrupt_set_isr_ex(
|
||||
FuriHalInterruptISR isr,
|
||||
void* context);
|
||||
|
||||
/** Get interrupt name by exception number.
|
||||
* Exception number can be obtained from IPSR register.
|
||||
*
|
||||
* @param exception_number
|
||||
* @return const char* or NULL if interrupt name is not found
|
||||
*/
|
||||
const char* furi_hal_interrupt_get_name(uint8_t exception_number);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user