You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on startup, analogReference() is being called to read the real value of 5V voltage so there's a way to retrieve the real voltage via analogRead().
However, calling R_ADC_Close when the ADC is not yet open triggers a chain of events that ends up at
__STATIC_INLINE void R_FSP_IsrContextSet (IRQn_Type const irq, void * p_context)
{
gp_renesas_isr_context[irq] = p_context;
}
If the irq is not initialized, setting gp_renesas_isr_context[somethig] will overwrite random memory.
Fixes#76
0 commit comments