aboutsummaryrefslogtreecommitdiff
path: root/stm-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm-init.c')
-rw-r--r--stm-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-init.c b/stm-init.c
index 9b86a30..2c19d58 100644
--- a/stm-init.c
+++ b/stm-init.c
@@ -85,7 +85,7 @@ void stm_init(void)
/* Give the FPGA access to it's bitstream ASAP (maybe this should actually
* be done in the application, before calling stm_init()).
*/
- fpgacfg_give_access_to_fpga();
+ fpgacfg_access_control(ALLOW_FPGA);
#endif
#endif
#ifdef HAL_UART_MODULE_ENABLED