summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 0cad768adb..0e260e18cd 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -188,7 +188,7 @@ int main(void) {
// Stack limit should be less than real stack size, so we
// had chance to recover from limit hit.
- stack_set_limit(&_ram_end - &_heap_end - 512);
+ mp_stack_set_limit(&_ram_end - &_heap_end - 512);
/* STM32F4xx HAL library initialization:
- Configure the Flash prefetch, instruction and Data caches