mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
riscv: Fix esprv_intc_int_set_threshold() naming
This commit fixes the function declaration naming from esprv_intc_set_threshold() to esprv_intc_int_set_threshold(), thus allowing the underlying ROM funciton to be exposed via the header.
This commit is contained in:
parent
0c97fbd5ba
commit
abf0bc13e6
@ -406,7 +406,6 @@ void vPortYieldFromISR( void )
|
||||
|
||||
// ----------------- Scheduler Start/End -------------------
|
||||
|
||||
extern void esprv_intc_int_set_threshold(int); // FIXME, this function is in ROM only
|
||||
BaseType_t xPortStartScheduler(void)
|
||||
{
|
||||
uxInterruptNesting = 0;
|
||||
|
@ -88,7 +88,6 @@ StackType_t *xIsrStackTop = &xIsrStack[0] + (configISR_STACK_SIZE & (~((portPOIN
|
||||
|
||||
// ----------------- Scheduler Start/End -------------------
|
||||
|
||||
extern void esprv_intc_int_set_threshold(int); // FIXME, this function is in ROM only
|
||||
BaseType_t xPortStartScheduler(void)
|
||||
{
|
||||
uxInterruptNesting = 0;
|
||||
|
@ -115,7 +115,7 @@ int esprv_intc_int_get_priority(int rv_int_num);
|
||||
*
|
||||
* @param priority_threshold Interrupt priority threshold, 0 to 7
|
||||
*/
|
||||
void esprv_intc_set_threshold(int priority_threshold);
|
||||
void esprv_intc_int_set_threshold(int priority_threshold);
|
||||
|
||||
/**
|
||||
* @brief Get interrupt unmask
|
||||
|
Loading…
Reference in New Issue
Block a user