Bugfix: nRF Cryptocell not being disabled
Copy paste bug in cc310 glue layer for nRF where disable does not set the enable register to 0. Thanks to @solsbarry for pointing this out. Fixes: #586 Signed-off-by: sigvartmh <sigvart.m@gmail.com>
This commit is contained in:
parent
8554ed5be6
commit
477ff5bab0
|
@ -36,7 +36,7 @@ static inline void nrf_cc310_enable(void)
|
||||||
|
|
||||||
static inline void nrf_cc310_disable(void)
|
static inline void nrf_cc310_disable(void)
|
||||||
{
|
{
|
||||||
NRF_CRYPTOCELL->ENABLE=1;
|
NRF_CRYPTOCELL->ENABLE=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enable and disable cc310 to reduce power consumption */
|
/* Enable and disable cc310 to reduce power consumption */
|
||||||
|
|
Loading…
Reference in New Issue